aboutsummaryrefslogtreecommitdiffstats
path: root/railties/guides
diff options
context:
space:
mode:
authorToby Matejovsky <toby.matejovsky@gmail.com>2012-02-27 16:25:25 -0500
committerToby Matejovsky <toby.matejovsky@gmail.com>2012-02-27 16:25:25 -0500
commit03a6119e3bc4394d6a150fc07e13ceaa6ed44127 (patch)
tree4ad5cdbb038f577040aa16d4961177dcb406e10a /railties/guides
parentf2f556d583aebf95f2f5163c96538ae6b6437d38 (diff)
downloadrails-03a6119e3bc4394d6a150fc07e13ceaa6ed44127.tar.gz
rails-03a6119e3bc4394d6a150fc07e13ceaa6ed44127.tar.bz2
rails-03a6119e3bc4394d6a150fc07e13ceaa6ed44127.zip
Correct NullStore cache store name in caching guide
Diffstat (limited to 'railties/guides')
-rw-r--r--railties/guides/source/caching_with_rails.textile2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/guides/source/caching_with_rails.textile b/railties/guides/source/caching_with_rails.textile
index 6419d32c13..e2c6c7a2a4 100644
--- a/railties/guides/source/caching_with_rails.textile
+++ b/railties/guides/source/caching_with_rails.textile
@@ -359,7 +359,7 @@ h4. ActiveSupport::Cache::NullStore
This cache store implementation is meant to be used only in development or test environments and it never stores anything. This can be very useful in development when you have code that interacts directly with +Rails.cache+, but caching may interfere with being able to see the results of code changes. With this cache store, all +fetch+ and +read+ operations will result in a miss.
<ruby>
-ActionController::Base.cache_store = :null
+ActionController::Base.cache_store = :null_store
</ruby>
h4. Custom Cache Stores