From 03a6119e3bc4394d6a150fc07e13ceaa6ed44127 Mon Sep 17 00:00:00 2001 From: Toby Matejovsky Date: Mon, 27 Feb 2012 16:25:25 -0500 Subject: Correct NullStore cache store name in caching guide --- railties/guides/source/caching_with_rails.textile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'railties/guides') 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. -ActionController::Base.cache_store = :null +ActionController::Base.cache_store = :null_store h4. Custom Cache Stores -- cgit v1.2.3