class method
self.cache_store=
Ruby on Rails 2.2.3
Since v2.2.3 Last seen in v2.3.18Available in: v2.2.3 v2.3.18
Signature
self.cache_store=(store_option)
Defines the storage option for cached fragments
Parameters
-
store_optionreq
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