1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Correct NullStore cache store name in caching guide

This commit is contained in:
Toby Matejovsky 2012-02-27 16:25:25 -05:00
parent f2f556d583
commit 03a6119e3b

View file

@ -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