Permalink
Browse files

fix a document for race_condition_ttl. ActiveSupport::Cache::MemoryCa…

…che isn't exist
  • Loading branch information...
1 parent e886f97 commit 7b65d12db5951682666a41fe864b53ad5ec510ac @kennyj kennyj committed Oct 29, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 activesupport/lib/active_support/cache.rb
@@ -232,7 +232,7 @@ def self.instrument
# <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

0 comments on commit 7b65d12

Please sign in to comment.