diff options
author | Lourens Naude <lourens@methodmissing.com> | 2009-01-17 18:05:48 -0600 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2009-01-17 18:05:48 -0600 |
commit | b08c96887538cf53670bb882e79996582375e6c9 (patch) | |
tree | a124364059632725b7e40bf58dfb35afdf995dd6 /activesupport/lib/active_support/cache.rb | |
parent | 29e7a0242853a5e102b6846b87723fc26a1ffb08 (diff) | |
download | rails-b08c96887538cf53670bb882e79996582375e6c9.tar.gz rails-b08c96887538cf53670bb882e79996582375e6c9.tar.bz2 rails-b08c96887538cf53670bb882e79996582375e6c9.zip |
Decouple the local cache strategy from MemCacheStore for reuse with other remote stores [#1653 state:resolved]
Signed-off-by: Joshua Peek <josh@joshpeek.com>
Diffstat (limited to 'activesupport/lib/active_support/cache.rb')
-rw-r--r-- | activesupport/lib/active_support/cache.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/activesupport/lib/active_support/cache.rb b/activesupport/lib/active_support/cache.rb index 6a6c861458..83174d3a85 100644 --- a/activesupport/lib/active_support/cache.rb +++ b/activesupport/lib/active_support/cache.rb @@ -10,6 +10,10 @@ module ActiveSupport autoload :MemCacheStore, 'active_support/cache/mem_cache_store' autoload :CompressedMemCacheStore, 'active_support/cache/compressed_mem_cache_store' + module Strategy + autoload :LocalCache, 'active_support/cache/strategy/local_cache' + end + # Creates a new CacheStore object according to the given options. # # If no arguments are passed to this method, then a new |