Permalink
Browse files

Correct NullStore cache store name in caching guide

  • Loading branch information...
1 parent f2f556d commit 03a6119e3bc4394d6a150fc07e13ceaa6ed44127 @tobym tobym committed Feb 27, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 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

0 comments on commit 03a6119

Please sign in to comment.