1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Minor docs style fix [ci skip]

This commit is contained in:
Santiago Bartesaghi 2021-05-26 17:16:26 -03:00
parent 5a8d7d904f
commit d49724c496
2 changed files with 3 additions and 3 deletions

View file

@ -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.

View file

@ -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,