class method self.cache_store=

Ruby on Rails 2.3.18

Since v2.2.3 Last seen in v2.3.18

Available in: v2.2.3 v2.3.18

Signature

self.cache_store=(store_option)

Defines the storage option for cached fragments

Parameters

store_option req
Source
# File actionpack/lib/action_controller/caching.rb, line 40
        def self.cache_store=(store_option)
          @@cache_store = ActiveSupport::Cache.lookup_store(store_option)
        end

Defined in actionpack/lib/action_controller/caching.rb line 40 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActionController::Caching

Type at least 2 characters to search.

↑↓ navigate · open · esc close