railties breaking changes
Updated December 4, 2026
On this page
Latest version 8.1.4.1. Source repository
Packages on RubyGems run on Ruby. Ruby end of life dates.
railties 8.0.0 breaking changes
- Removed
Active Record now requires MySQL 5.6.4 or later, so MySQL 5.5 is no longer supported. github.com - Removed
ActiveRecord.ConnectionAdapters.ConnectionPool.connection
The deprecated ConnectionPool#connection method has been removed. github.com - Removed
ActiveRecord.ImmutableRelation
The deprecated ActiveRecord::ImmutableRelation constant has been deleted. github.com - Removed
ActiveSupport.Deprecation.warn
Passing an array of strings to ActiveSupport::Deprecation#warn no longer works. Pass a single string instead. github.com - Removed
ActiveSupport.ProxyObject
The deprecated ActiveSupport::ProxyObject class has been removed. github.com - Removed
attr_internal_naming_format
Setting attr_internal_naming_format with a @ prefix is no longer supported. github.com - Removed
cache_dump_filename
Passing a database name to cache_dump_filename is no longer supported. github.com - Removed
config.action_controller.allow_deprecated_parameters_hash_equality
The Rails.application.config.action_controller.allow_deprecated_parameters_hash_equality option has been removed. github.com - Removed
config.active_job.use_big_decimal_serializer
The config.active_job.use_big_decimal_serializer option has been removed. github.com - Removed
config.active_record.allow_deprecated_singular_associations_name
The config.active_record.allow_deprecated_singular_associations_name option has been removed. github.com - Removed
config.active_record.commit_transaction_on_non_local_return
The config.active_record.commit_transaction_on_non_local_return option has been removed. github.com - Removed
config.active_record.sqlite3_deprecated_warning
The config.active_record.sqlite3_deprecated_warning option has been removed. github.com - Removed
config.active_record.warn_on_records_fetched_greater_than
The config.active_record.warn_on_records_fetched_greater_than option has been removed. github.com - Removed
config.read_encrypted_secrets
The config.read_encrypted_secrets option has been removed. github.com - Removed
enum
Defining enum with keyword arguments is no longer supported. github.com - Removed
ENV["SCHEMA_CACHE"]
Setting ENV["SCHEMA_CACHE"] is no longer supported. github.com - Removed
rails.console.app
The deprecated file rails/console/app has been removed. github.com - Removed
rails.console.helpers
The deprecated file rails/console/helpers has been removed. github.com - Removed
Rails.ConsoleMethods
Extending the Rails console through Rails::ConsoleMethods is no longer supported. github.com - Renamed
check_box
The check_box methods are renamed to checkbox. The old names remain as aliases. github.com - Renamed
rich_text_area
The rich_text_area methods are renamed to rich_textarea. The old names remain as aliases. github.com - Renamed
text_area
The text_area methods are renamed to textarea. The old names remain as aliases for now. github.com - Behavior changed
ActiveJob.AsyncAdapter
The async adapter thread pool size now comes from RAILS_MAX_THREADS, defaulting to 5 when unset. github.com - Behavior changed
ActiveStorage.Filename.sanitized
Characters such as " * ? < > are now replaced with - in sanitized filenames. github.com - Behavior changed
ActiveSupport.HashWithIndifferentAccess.stringify_keys
Non-symbol keys such as integers are now stringified too, so lookups by the original key no longer find the value. github.com - Behavior changed
ActiveSupport.TimeWithZone.inspect
The inspect output format changed to match Time#inspect. Code that parses inspect output must be updated. github.com - Behavior changed
db:prepare
Seeds now load during db:prepare only for primary database configs by default. Set the seeds config property to change this. github.com - Behavior changed
EncryptedConfiguration
Keys that do not respond to to_sym, such as Integer or Float keys, now raise an error. github.com - Behavior changed
http_cache_forever
Responses from http_cache_forever now include the immutable directive in Cache-Control. github.com - Behavior changed
rails g
A missing generator now exits with status 1 instead of 0. Scripts that check the exit status must handle this. github.com - Behavior changed
resource
Invalid :only or :except values passed to resource now raise ArgumentError instead of being accepted. github.com - Behavior changed
resources
Invalid :only or :except values passed to resources now raise ArgumentError instead of being accepted. github.com - Default changed
Query log tags are now on by default in the development environment. github.com - Default changed
ActiveSupport.to_time_preserves_timezone
The default is now :zone. The old true value is renamed to :offset, so code relying on the old behavior must set it explicitly. github.com - Default changed
Regexp.timeout
Regular expressions now time out after 1 second by default. Slow matches may now raise and need a longer timeout if required. github.com
railties 8.0.0.rc2 breaking changes
- Behavior changed
db:prepare
Seeds are now loaded during db:prepare only for primary databases by default; set the new seeds database config to change this. github.com - Default changed
Regexp.timeout
Regular expressions now time out after 1 second by default; slow patterns may now raise errors. github.com - Default changed
seeds
The new seeds database config property defaults to true for primary and false otherwise. github.com
railties 8.0.0.rc1 breaking changes
- Removed
ActionView.Helpers.FormTagHelper.tag
Passing content to void tag elements via the tag builder is no longer supported. github.com - Removed
ActiveRecord.Base.insert
Support for finding database adapters not registered to Active Record has been removed. github.com - Removed
ActiveRecord.ConnectionAdapters.ConnectionPool.connection
ConnectionPool#connection has been removed from Active Record. github.com - Removed
ActiveSupport.Deprecation.warn
Passing an array of strings to ActiveSupport::Deprecation#warn is no longer supported; pass a single string instead. github.com - Removed
ActiveSupport.ProxyObject
ActiveSupport::ProxyObject has been removed. github.com - Removed
attr_internal_naming_format
Setting attr_internal_naming_format with a @ prefix is no longer supported. github.com - Removed
cache_dump_filename
Passing a database name to cache_dump_filename is no longer supported. github.com - Removed
config.action_controller.allow_deprecated_parameters_hash_equality
This configuration option has been removed. github.com - Removed
config.active_job.use_big_decimal_serializer
This configuration option has been removed. github.com - Removed
config.active_record.allow_deprecated_singular_associations_name
This configuration option has been removed. github.com
And 12 more in this version. Sign up to see every change
railties 8.0.0.beta1 breaking changes
- Removed
Applications must use MySQL 5.6.4 or later. github.com - Removed
ActiveRecord.ImmutableRelation
The deprecated constant has been removed. github.com - Renamed
check_box
Old names remain as aliases, but new code should use the new names. github.com - Renamed
rich_text_area
Old names remain as aliases, but new code should use the new names. github.com - Renamed
text_area
Old names remain as aliases, but new code should use the new names. github.com - Behavior changed
Transactions on the SQLite3 adapter now use IMMEDIATE mode by default. github.com - Behavior changed
ActiveStorage.Filename.sanitized
The characters "*?<> are now replaced with - in sanitized filenames. github.com - Behavior changed
ActiveSupport.ErrorReporter.report
Reports of un-raised exceptions now include a generated backtrace. github.com - Behavior changed
ActiveSupport.TimeWithZone.inspect
inspect output now uses ISO 8601 style time like Time#inspect, so code that parses or matches the string may change. github.com - Behavior changed
http_cache_forever
Responses now use immutable: true, changing the Cache-Control output. github.com
And 6 more in this version. Sign up to see every change
railties 7.0.0 breaking changes
- Removed
Marshal and YAML load of Rails 5.x error format removed in railties 7.0.0 github.com - Removed
ActionDispatch.Response.return_only_media_type_on_content_type
ActionDispatch::Response.return_only_media_type_on_content_type was removed. github.com - Removed
ActionDispatch.SystemTestCase.host!
ActionDispatch::SystemTestCase#host! was removed. Code calling it will fail. github.com - Removed
ActionMailer.DeliveryJob
ActionMailer::DeliveryJob was removed in favor of ActionMailer::MailDeliveryJob. Code referencing the old class must be updated. github.com - Removed
ActionMailer.Parameterized.DeliveryJob
ActionMailer::Parameterized::DeliveryJob was removed in favor of ActionMailer::MailDeliveryJob. github.com - Removed
ActiveModel.AttributeSet
Marshal load of Rails 5.x AttributeSet format removed in railties 7.0.0 github.com - Removed
ActiveModel.Errors
Enumerating Errors as a Hash removed in railties 7.0.0 github.com - Removed
ActiveModel.Errors.keys
Deprecated Errors#keys removed in railties 7.0.0 github.com - Removed
ActiveModel.Errors.messages
Deprecated []= support on Errors#messages removed in railties 7.0.0 github.com - Removed
ActiveModel.Errors.slice!
Deprecated Errors#slice! removed in railties 7.0.0 github.com
And 55 more in this version. Sign up to see every change
railties 7.0.0.rc3 breaking changes
- Default changed
In development, localhost with a port is now allowed by default for host authorization. Apps that relied on rejecting such requests must configure hosts explicitly. github.com
Older versions
5 older versions, each with its first changes. Sign up to see every change
Show 5 older versions
railties 7.0.0.rc1 breaking changes
- Removed
ActionDispatch.Response.return_only_media_type_on_content_type
The deprecated method is removed. github.com - Removed
ActionDispatch.SystemTestCase.host!
The deprecated method is removed. github.com
And 54 more in this version.
railties 7.0.0.alpha1 breaking changes
- Removed
config.autoloader=
Zeitwerk is now the only autoloading mode, so remove any code that assigns config.autoloader=. github.com - Behavior changed
During boot, initializers and engine or railtie initializers can no longer autoload reloadable classes such as models unless they are wrapped in a to_prepare block. github.com
And 3 more in this version.
railties 6.0.0.rc1 breaking changes
- Behavior changed
The :async ActiveJob adapter is now switched to :inline only while seeding, not in other cases. github.com - Default changed
New applications' default Gemfile replaces chromedriver-helper with webdrivers, since chromedriver-helper is deprecated. github.com
And 1 more in this version.
railties 6.0.0.beta3 breaking changes
- Behavior changed
Development mode now generates a random secret stored in tmp/development_secret.txt, so sessions and signed data from earlier development setups no longer validate. github.com
railties 6.0.0.beta1 breaking changes
- Removed
ActionDispatch.TestResponse.success?
success?, missing? and error? were removed; use successful?, not_found? and server_error? instead. github.com - Removed
ActionView.Helpers.RecordTagHelper
RecordTagHelper has been removed from Action View. github.com
And 21 more in this version.
Related packages
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The 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.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.