Skip to content

Commit

Permalink
Merge pull request rails#42299 from santib/minor-style-fix
Browse files Browse the repository at this point in the history
Minor docs style fix [ci skip]
  • Loading branch information
zzak authored May 26, 2021
2 parents 5a8d7d9 + d49724c commit fdce2a2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion activesupport/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
4 changes: 2 additions & 2 deletions guides/source/upgrading_ruby_on_rails.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```

Expand All @@ -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,
Expand Down

0 comments on commit fdce2a2

Please sign in to comment.