module ActionController::Caching::ConfigMethods

Public Instance Methods

cache_store() click to toggle source
# File lib/action_controller/caching.rb, line 35
def cache_store
  config.cache_store
end
cache_store=(store) click to toggle source
# File lib/action_controller/caching.rb, line 39
def cache_store=(store)
  config.cache_store = ActiveSupport::Cache.lookup_store(store)
end

Private Instance Methods

cache_configured?() click to toggle source
# File lib/action_controller/caching.rb, line 44
def cache_configured?
  perform_caching && cache_store
end