blob: 7c7d1c4b00b698aa295b2abf1e6c38ab6c62a647 (
plain) (
tree)
|
|
module ActiveSupport
module Cache
class CompressedMemCacheStore < MemCacheStore
def initialize(*args)
ActiveSupport::Deprecation.warn('ActiveSupport::Cache::CompressedMemCacheStore has been deprecated in favor of ActiveSupport::Cache::MemCacheStore(:compress => true).', caller)
addresses = args.dup
options = addresses.extract_options!
args = addresses + [options.merge(:compress => true)]
super(*args)
end
end
end
end
|