diff --git a/activesupport/CHANGELOG.md b/activesupport/CHANGELOG.md index 86dfc6ce67..7da156ba78 100644 --- a/activesupport/CHANGELOG.md +++ b/activesupport/CHANGELOG.md @@ -39,7 +39,7 @@ * Added a faster and more compact `ActiveSupport::Cache` serialization format. It can be enabled with `config.active_support.cache_format_version = 7.0` or - `config.load_defaults(7.0)`. Regardless of the configuration Active Support + `config.load_defaults 7.0`. Regardless of the configuration Active Support 7.0 can read cache entries serialized by Active Support 6.1 which allows to upgrade without invalidating the cache. However Rails 6.1 can't read the new format, so all readers must be upgraded before the new format is enabled. diff --git a/guides/source/upgrading_ruby_on_rails.md b/guides/source/upgrading_ruby_on_rails.md index 5b30388632..a836f3a47f 100644 --- a/guides/source/upgrading_ruby_on_rails.md +++ b/guides/source/upgrading_ruby_on_rails.md @@ -131,7 +131,7 @@ To enable it you must set `config.active_support.cache_format_version = 7.0`: ```ruby # config/application.rb -config.load_defaults(6.1) +config.load_defaults 6.1 config.active_support.cache_format_version = 7.0 ``` @@ -140,7 +140,7 @@ Or simply: ```ruby # config/application.rb -config.load_defaults(7.0) +config.load_defaults 7.0 ``` However Rails 6.1 applications are not able to read this new serialization format,