---
title: "activerecord 8.0.0 Breaking Changes on RubyGems | Since.dev"
description: "What each activerecord release removed, renamed or changed: 210 breaking changes in 11 versions on RubyGems, each with its source."
canonical_url: https://since.dev/packages/gem/activerecord
last_updated: 2026-12-04
---

# activerecord breaking changes

activerecord 8.0.0 (November 7, 2024) is its newest release with breaking changes, 25 of them. The first: Drops MySQL 5.5 support in activerecord 8.0.0. Every breaking API change we have recorded in activerecord on RubyGems: 210 breaking changes in 11 versions. Below, its 11 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `8.1.4.1`. [Source repository](https://github.com/rails/rails)

Its 6.0.0.beta1 release requires Ruby 2.5.0 or later. [Ruby end of life dates](https://since.dev/calendar/ruby.md).

- From [7.0.0](#v-7-0-0) to [8.0.0](#v-8-0-0): 64 breaking changes in 4 versions.
- From [6.0.0](#v-6-0-0) to [8.0.0](#v-8-0-0): 164 breaking changes in 7 versions.

## activerecord 8.0.0 breaking changes

activerecord 8.0.0, released November 7, 2024: 25 breaking changes.

- **Removed**  

MySQL 5.5 is no longer supported; MySQL 5.6.4 or later is required. [github.com](https://github.com/rails/rails/releases/tag/v8.0.0)
- **Removed** `ActiveRecord.ConnectionAdapters.ConnectionPool.connection`  

The deprecated ConnectionPool#connection method is removed. [github.com](https://github.com/rails/rails/releases/tag/v8.0.0)
- **Removed** `ActiveRecord.ImmutableRelation`  

The deprecated constant is deleted. [github.com](https://github.com/rails/rails/releases/tag/v8.0.0)
- **Removed** `ActiveSupport.Deprecation.warn`  

Passing an array of strings to ActiveSupport::Deprecation#warn no longer works. Pass a single string instead. [github.com](https://github.com/rails/rails/releases/tag/v8.0.0)
- **Removed** `ActiveSupport.ProxyObject`  

The deprecated ActiveSupport::ProxyObject class is removed. [github.com](https://github.com/rails/rails/releases/tag/v8.0.0)
- **Removed** `attr_internal_naming_format`  

Setting attr_internal_naming_format with a @ prefix is no longer supported. [github.com](https://github.com/rails/rails/releases/tag/v8.0.0)
- **Removed** `cache_dump_filename`  

cache_dump_filename no longer accepts a database name argument. [github.com](https://github.com/rails/rails/releases/tag/v8.0.0)
- **Removed** `config.active_record.allow_deprecated_singular_associations_name`  

The config option is removed. [github.com](https://github.com/rails/rails/releases/tag/v8.0.0)
- **Removed** `config.active_record.commit_transaction_on_non_local_return`  

The config option is removed. [github.com](https://github.com/rails/rails/releases/tag/v8.0.0)
- **Removed** `config.active_record.sqlite3_deprecated_warning`  

The config option is removed and no longer has any effect. [github.com](https://github.com/rails/rails/releases/tag/v8.0.0)
- **Removed** `config.active_record.warn_on_records_fetched_greater_than`  

The config option is removed. [github.com](https://github.com/rails/rails/releases/tag/v8.0.0)
- **Removed** `config.read_encrypted_secrets`  

The config option is removed. [github.com](https://github.com/rails/rails/releases/tag/v8.0.0)
- **Removed** `enum`  

Defining enum with keyword arguments is no longer supported. [github.com](https://github.com/rails/rails/releases/tag/v8.0.0)
- **Removed** `ENV["SCHEMA_CACHE"]`  

Setting the SCHEMA_CACHE environment variable is no longer supported. [github.com](https://github.com/rails/rails/releases/tag/v8.0.0)
- **Removed** `Rails.application.config.action_controller.allow_deprecated_parameters_hash_equality`  

The config option is removed. [github.com](https://github.com/rails/rails/releases/tag/v8.0.0)
- **Removed** `Rails.ConsoleMethods`  

Extending the Rails console through Rails::ConsoleMethods is no longer supported. [github.com](https://github.com/rails/rails/releases/tag/v8.0.0)
- **Renamed** `SQLite3.Database.busy_timeout`  

Use busy_handler_timeout= in place of busy_timeout. [github.com](https://github.com/rails/rails/releases/tag/v8.0.0)
- **Behavior changed**  

Transactions on the SQLite3 adapter now default to IMMEDIATE mode, which changes locking behavior. [github.com](https://github.com/rails/rails/releases/tag/v8.0.0)
- **Behavior changed** `ActiveSupport.HashWithIndifferentAccess.stringify_keys`  

Non-symbol keys such as integers are now converted to strings too, so code relying on the old key types will change. [github.com](https://github.com/rails/rails/releases/tag/v8.0.0)
- **Behavior changed** `ActiveSupport.TimeWithZone.inspect`  

Output of inspect changes to the ISO 8601 style used by Time#inspect. [github.com](https://github.com/rails/rails/releases/tag/v8.0.0)
- **Behavior changed** `db:prepare`  

Seeds are skipped for non-primary databases unless the seeds config property is set to true. [github.com](https://github.com/rails/rails/releases/tag/v8.0.0)
- **Behavior changed** `EncryptedConfiguration`  

Keys that cannot respond to to_sym, such as Integer or Float, now raise an error. [github.com](https://github.com/rails/rails/releases/tag/v8.0.0)
- **Behavior changed** `resources`  

Invalid :only or :except values now raise ArgumentError. [github.com](https://github.com/rails/rails/releases/tag/v8.0.0)
- **Default changed** `ActiveSupport.to_time_preserves_timezone`  

The default is now :zone instead of true, which was renamed to :offset. [github.com](https://github.com/rails/rails/releases/tag/v8.0.0)
- **Default changed** `Regexp.timeout`  

Regexp matching now times out after 1 second by default. [github.com](https://github.com/rails/rails/releases/tag/v8.0.0)

## activerecord 8.0.0.rc2 breaking changes

activerecord 8.0.0.rc2, released November 7, 2024: 2 breaking changes.

- **Behavior changed** `db:prepare`  

Seeds are now loaded by db:prepare only for primary database configs unless the new seeds property is set. [github.com](https://github.com/rails/rails/releases/tag/v8.0.0.rc2)
- **Default changed** `Regexp.timeout`  

Regular expressions that run longer than one second now raise a timeout error unless the application changes this setting. [github.com](https://github.com/rails/rails/releases/tag/v8.0.0.rc2)

## activerecord 8.0.0.rc1 breaking changes

activerecord 8.0.0.rc1, released November 7, 2024: 24 breaking changes.

- **Removed**  

Removes finding database adapters not registered with Active Record in activerecord 8.0.0.rc1 [github.com](https://github.com/rails/rails/releases/tag/v8.0.0.rc1)
- **Removed** `ActiveRecord.ConnectionAdapters.ConnectionPool.connection`  

Removes ConnectionPool#connection in activerecord 8.0.0.rc1 [github.com](https://github.com/rails/rails/releases/tag/v8.0.0.rc1)
- **Removed** `ActiveSupport.Deprecation.warn`  

Removes support for passing an array of strings to Deprecation#warn in activerecord 8.0.0.rc1 [github.com](https://github.com/rails/rails/releases/tag/v8.0.0.rc1)
- **Removed** `ActiveSupport.ProxyObject`  

Removes ActiveSupport::ProxyObject in activerecord 8.0.0.rc1 [github.com](https://github.com/rails/rails/releases/tag/v8.0.0.rc1)
- **Removed** `attr_internal_naming_format`  

Removes support for attr_internal_naming_format with a @ prefix in activerecord 8.0.0.rc1 [github.com](https://github.com/rails/rails/releases/tag/v8.0.0.rc1)
- **Removed** `cache_dump_filename`  

Removes passing a database name to cache_dump_filename in activerecord 8.0.0.rc1 [github.com](https://github.com/rails/rails/releases/tag/v8.0.0.rc1)
- **Removed** `config.action_controller.allow_deprecated_parameters_hash_equality`  

Removes the allow_deprecated_parameters_hash_equality config option in activerecord 8.0.0.rc1 [github.com](https://github.com/rails/rails/releases/tag/v8.0.0.rc1)
- **Removed** `config.active_job.use_big_decimal_serializer`  

Removes the use_big_decimal_serializer config option in activerecord 8.0.0.rc1 [github.com](https://github.com/rails/rails/releases/tag/v8.0.0.rc1)
- **Removed** `config.active_record.allow_deprecated_singular_associations_name`  

Removes the allow_deprecated_singular_associations_name config option in activerecord 8.0.0.rc1 [github.com](https://github.com/rails/rails/releases/tag/v8.0.0.rc1)
- **Removed** `config.active_record.commit_transaction_on_non_local_return`  

Removes the commit_transaction_on_non_local_return config option in activerecord 8.0.0.rc1 [github.com](https://github.com/rails/rails/releases/tag/v8.0.0.rc1)

And 14 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## activerecord 8.0.0.beta1 breaking changes

activerecord 8.0.0.beta1, released November 7, 2024: 13 breaking changes.

- **Removed**  

MySQL 5.5 is no longer supported; use MySQL 5.6.4 or later. [github.com](https://github.com/rails/rails/releases/tag/v8.0.0.beta1)
- **Removed** `ActiveRecord.ImmutableRelation`  

The deprecated constant ActiveRecord::ImmutableRelation has been removed. [github.com](https://github.com/rails/rails/releases/tag/v8.0.0.beta1)
- **Renamed** `check_box`  

The check_box methods are renamed to checkbox; old names remain as aliases. [github.com](https://github.com/rails/rails/releases/tag/v8.0.0.beta1)
- **Renamed** `rich_text_area`  

The rich_text_area methods are renamed to rich_textarea; old names remain as aliases. [github.com](https://github.com/rails/rails/releases/tag/v8.0.0.beta1)
- **Renamed** `text_area`  

The text_area methods are renamed to textarea; old names remain as aliases. [github.com](https://github.com/rails/rails/releases/tag/v8.0.0.beta1)
- **Behavior changed**  

Transactions on the SQLite3 adapter now default to IMMEDIATE mode, changing their locking behavior. [github.com](https://github.com/rails/rails/releases/tag/v8.0.0.beta1)
- **Behavior changed** `ActiveSupport.EncryptedConfiguration`  

Using a key that does not respond to to_sym, such as an Integer or Float, now raises an error. [github.com](https://github.com/rails/rails/releases/tag/v8.0.0.beta1)
- **Behavior changed** `ActiveSupport.TimeWithZone.inspect`  

TimeWithZone#inspect output changes to ISO 8601 style, matching Time#inspect. [github.com](https://github.com/rails/rails/releases/tag/v8.0.0.beta1)
- **Behavior changed** `http_cache_forever`  

http_cache_forever now marks responses as immutable in the Cache-Control header. [github.com](https://github.com/rails/rails/releases/tag/v8.0.0.beta1)
- **Behavior changed** `rails g`  

Running rails g with an unknown generator now exits with status 1 instead of 0. [github.com](https://github.com/rails/rails/releases/tag/v8.0.0.beta1)

And 3 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## activerecord 7.0.0 breaking changes

activerecord 7.0.0, released December 15, 2021: 31 breaking changes.

- **Removed**  

Quoting ActiveRecord::Base objects is no longer supported. [github.com](https://github.com/rails/rails/releases/tag/v7.0.0)
- **Removed**  

Type casting ActiveRecord::Base objects to database values is no longer supported. [github.com](https://github.com/rails/rails/releases/tag/v7.0.0)
- **Removed**  

Resolving a connection using primary as the connection specification name is no longer supported. [github.com](https://github.com/rails/rails/releases/tag/v7.0.0)
- **Removed** `ActiveRecord.Base.arel_attribute`  

The deprecated arel_attribute method has been removed. [github.com](https://github.com/rails/rails/releases/tag/v7.0.0)
- **Removed** `ActiveRecord.Base.configurations.default_hash`  

The deprecated default_hash method on the configurations object has been removed. [github.com](https://github.com/rails/rails/releases/tag/v7.0.0)
- **Removed** `ActiveRecord.Base.configurations.to_h`  

The deprecated to_h method on the configurations object has been removed. [github.com](https://github.com/rails/rails/releases/tag/v7.0.0)
- **Removed** `ActiveRecord.Base.connection_config`  

The deprecated connection_config method has been removed. [github.com](https://github.com/rails/rails/releases/tag/v7.0.0)
- **Removed** `ActiveRecord.Base.remove_connection`  

The deprecated remove_connection method has been removed. [github.com](https://github.com/rails/rails/releases/tag/v7.0.0)
- **Removed** `ActiveRecord.Connection.allowed_index_name_length`  

The deprecated allowed_index_name_length method has been removed. Stop calling it. [github.com](https://github.com/rails/rails/releases/tag/v7.0.0)
- **Removed** `ActiveRecord.Connection.in_clause_length`  

The deprecated in_clause_length method has been removed. Stop calling it. [github.com](https://github.com/rails/rails/releases/tag/v7.0.0)

And 21 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## activerecord 7.0.0.rc1 breaking changes

activerecord 7.0.0.rc1, released December 15, 2021: 56 breaking changes.

- **Removed** `ActionDispatch.Response.return_only_media_type_on_content_type`  

The deprecated setting is removed. [github.com](https://github.com/rails/rails/releases/tag/v7.0.0.rc1)
- **Removed** `ActionDispatch.SystemTestCase.host!`  

The deprecated method is removed. [github.com](https://github.com/rails/rails/releases/tag/v7.0.0.rc1)
- **Removed** `ActionMailer.DeliveryJob`  

Use ActionMailer::MailDeliveryJob instead. [github.com](https://github.com/rails/rails/releases/tag/v7.0.0.rc1)
- **Removed** `ActiveModel.AttributeSet`  

Old serialized AttributeSet data can no longer be loaded. [github.com](https://github.com/rails/rails/releases/tag/v7.0.0.rc1)
- **Removed** `ActiveModel.Errors.keys`  

The deprecated method is removed. [github.com](https://github.com/rails/rails/releases/tag/v7.0.0.rc1)
- **Removed** `ActiveModel.Errors.messages`  

Assigning, deleting, clearing or concatenating errors through messages is no longer supported. [github.com](https://github.com/rails/rails/releases/tag/v7.0.0.rc1)
- **Removed** `ActiveModel.Errors.slice!`  

The deprecated method is removed. [github.com](https://github.com/rails/rails/releases/tag/v7.0.0.rc1)
- **Removed** `ActiveModel.Errors.to_h`  

The deprecated method is removed. [github.com](https://github.com/rails/rails/releases/tag/v7.0.0.rc1)
- **Removed** `ActiveModel.Errors.to_xml`  

The deprecated method is removed. [github.com](https://github.com/rails/rails/releases/tag/v7.0.0.rc1)
- **Removed** `ActiveModel.Errors.values`  

The deprecated method is removed. [github.com](https://github.com/rails/rails/releases/tag/v7.0.0.rc1)

And 46 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## Older versions

5 older versions, each with its first changes. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

### activerecord 7.0.0.alpha1 breaking changes

activerecord 7.0.0.alpha1, released December 15, 2021: 13 breaking changes.

- **Removed** `connected_to`  

The deprecated database keyword argument of connected_to has been removed. [github.com](https://github.com/rails/rails/blob/v7.0.0/activerecord/CHANGELOG.md)
- **Behavior changed**  

Numbers and booleans passed as bind parameters are now sent as strings, which can change query results. [github.com](https://github.com/rails/rails/blob/v7.0.0/activerecord/CHANGELOG.md)

And 11 more in this version.

### activerecord 6.0.0 breaking changes

activerecord 6.0.0, released August 16, 2019: 1 breaking change.

- **Behavior changed**  

The DATABASE_URL variable applies only to the primary connection. Use the new per-database environment variables for other databases. [github.com](https://github.com/rails/rails/blob/v6.0.0/activerecord/CHANGELOG.md)

### activerecord 6.0.0.rc1 breaking changes

activerecord 6.0.0.rc1, released August 16, 2019: 4 breaking changes.

- **Behavior changed**  

Commit and rollback callbacks no longer run when a record was not saved. Code relying on them for unsaved records must change. [github.com](https://github.com/rails/rails/blob/v6.0.0/activerecord/CHANGELOG.md)
- **Behavior changed**  

Association loading ignores surrounding scopes whether preloaded or not, except with unscoped. Code relying on scoped association results must change. [github.com](https://github.com/rails/rails/blob/v6.0.0/activerecord/CHANGELOG.md)

And 2 more in this version.

### activerecord 6.0.0.beta2 breaking changes

activerecord 6.0.0.beta2, released August 16, 2019: 2 breaking changes.

- **Behavior changed** `where`  

Conditions comparing a numeric column with a non-numeric string no longer match as 0. Check queries that relied on that match. [github.com](https://github.com/rails/rails/blob/v6.0.0/activerecord/CHANGELOG.md)
- **Default changed** `t.timestamps`  

Timestamp columns created with t.timestamps get precision by default. Review migrations that depend on the previous column definition. [github.com](https://github.com/rails/rails/blob/v6.0.0/activerecord/CHANGELOG.md)

### activerecord 6.0.0.beta1 breaking changes

activerecord 6.0.0.beta1, released August 16, 2019: 39 breaking changes.

- **Removed** `ActionDispatch.TestResponse.error?`  

Use successful?, not_found? and server_error? instead. [github.com](https://github.com/rails/rails/releases/tag/v6.0.0.beta1)
- **Removed** `ActionDispatch.TestResponse.missing?`  

Use successful?, not_found? and server_error? instead. [github.com](https://github.com/rails/rails/releases/tag/v6.0.0.beta1)

And 37 more in this version.

## Related packages

- [rails](https://since.dev/packages/gem/rails.md)
- [railties](https://since.dev/packages/gem/railties.md)
- [actiontext](https://since.dev/packages/gem/actiontext.md)
- [actioncable](https://since.dev/packages/gem/actioncable.md)
- [activejob](https://since.dev/packages/gem/activejob.md)
- [actionpack](https://since.dev/packages/gem/actionpack.md)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
