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:
parent
f2f556d583
commit
03a6119e3b
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue