diff options
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/lib/action_controller/caching.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/actionpack/lib/action_controller/caching.rb b/actionpack/lib/action_controller/caching.rb index 87d0558284..ee606ce13d 100644 --- a/actionpack/lib/action_controller/caching.rb +++ b/actionpack/lib/action_controller/caching.rb @@ -243,6 +243,12 @@ module ActionController #:nodoc: end end + class MemCacheStore < MemoryStore + def initialize(address = 'localhost') + @data = MemCache.new(address) + end + end + class FileStore def initialize(cache_path) @cache_path = cache_path |