module AbstractController::Caching::ConfigMethods
Public Instance Methods
cache_store()
click to toggle source
# File lib/abstract_controller/caching.rb, line 13 def cache_store config.cache_store end
cache_store=(store)
click to toggle source
# File lib/abstract_controller/caching.rb, line 17 def cache_store=(store) config.cache_store = ActiveSupport::Cache.lookup_store(*store) end
Private Instance Methods
cache_configured?()
click to toggle source
# File lib/abstract_controller/caching.rb, line 22 def cache_configured? perform_caching && cache_store end