mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
fix a document for race_condition_ttl. ActiveSupport::Cache::MemoryCache isn't exist
This commit is contained in:
parent
e886f97669
commit
7b65d12db5
1 changed files with 1 additions and 1 deletions
|
@ -232,7 +232,7 @@ module ActiveSupport
|
|||
# <tt>:race_condition_ttl</tt> does not play any role.
|
||||
#
|
||||
# # Set all values to expire after one minute.
|
||||
# cache = ActiveSupport::Cache::MemoryCache.new(:expires_in => 1.minute)
|
||||
# cache = ActiveSupport::Cache::MemoryStore.new(:expires_in => 1.minute)
|
||||
#
|
||||
# cache.write("foo", "original value")
|
||||
# val_1 = nil
|
||||
|
|
Loading…
Reference in a new issue