diff options
author | Jess Brown <jess@brownwebdesign.com> | 2017-03-23 14:30:45 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-23 14:30:45 -0400 |
commit | 166a388301b17bb6b0c56527b010af9164a22fa7 (patch) | |
tree | 94d01e15fac065f976288ba525eb5dc7648728b2 | |
parent | 484d1ed529d23bcb5e1b5ca167bb63ac8c164c8b (diff) | |
download | rails-166a388301b17bb6b0c56527b010af9164a22fa7.tar.gz rails-166a388301b17bb6b0c56527b010af9164a22fa7.tar.bz2 rails-166a388301b17bb6b0c56527b010af9164a22fa7.zip |
make it clear how to enable caching
since this is a new change, many will be coming here to toggle the true/false config and not find it. This will allow them to quickly implement the change.
-rw-r--r-- | railties/lib/rails/generators/rails/app/templates/config/environments/development.rb.tt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/railties/lib/rails/generators/rails/app/templates/config/environments/development.rb.tt b/railties/lib/rails/generators/rails/app/templates/config/environments/development.rb.tt index 511b4a82eb..451b9ef28b 100644 --- a/railties/lib/rails/generators/rails/app/templates/config/environments/development.rb.tt +++ b/railties/lib/rails/generators/rails/app/templates/config/environments/development.rb.tt @@ -13,6 +13,7 @@ Rails.application.configure do config.consider_all_requests_local = true # Enable/disable caching. By default caching is disabled. + # run rails dev:cache to toggle caching if Rails.root.join('tmp/caching-dev.txt').exist? config.action_controller.perform_caching = true |