Skip to content

Commit

Permalink
Merge pull request #3463 from kennyj/fix_document_for_cache
Browse files Browse the repository at this point in the history
fix a document for race_condition_ttl. ActiveSupport::Cache::MemoryCache isn't exist.
  • Loading branch information
spastorino committed Oct 30, 2011
2 parents eabda41 + 7b65d12 commit 8ef1bd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion activesupport/lib/active_support/cache.rb
Expand Up @@ -230,7 +230,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
Expand Down

0 comments on commit 8ef1bd9

Please sign in to comment.