diff --git a/guides/source/caching_with_rails.md b/guides/source/caching_with_rails.md index 0a0462575a..89aaea03d9 100644 --- a/guides/source/caching_with_rails.md +++ b/guides/source/caching_with_rails.md @@ -34,17 +34,12 @@ fragment caching. By default Rails provides fragment caching. In order to use page and action caching you will need to add `actionpack-page_caching` and `actionpack-action_caching` to your `Gemfile`. -By default, caching is only enabled in your production environment. To play -around with caching locally you'll want to enable caching in your local -environment by setting `config.action_controller.perform_caching` to `true` in -the relevant `config/environments/*.rb` file: - -```ruby -config.action_controller.perform_caching = true -``` +By default, caching is only enabled in your production environment. You can play +around with caching locally by running `rails dev:cache`, or by setting +`config.action_controller.perform_caching` to `true` in `config/environments/development.rb`. NOTE: Changing the value of `config.action_controller.perform_caching` will -only have an effect on the caching provided by the Action Controller component. +only have an effect on the caching provided by Action Controller. For instance, it will not impact low-level caching, that we address [below](#low-level-caching).