method

new

rails latest stable - Class: ActiveSupport::Cache::CompressedMemCacheStore

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v3.1.0) is shown here.

new(*args)
public

No documentation available.

# File activesupport/lib/active_support/cache/compressed_mem_cache_store.rb, line 4
      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