123456789_123456789_123456789_123456789_123456789_

Module: AbstractController::Caching::ConfigMethods

Relationships & Source Files
Extension / Inclusion / Inheritance Descendants
Included In:
Defined in: actionpack/lib/abstract_controller/caching.rb

Instance Attribute Summary

Instance Attribute Details

#cache_store (rw)

[ GitHub ]

  
# File 'actionpack/lib/abstract_controller/caching.rb', line 13

def cache_store
  config.cache_store
end

#cache_store=(store) (rw)

[ GitHub ]

  
# File 'actionpack/lib/abstract_controller/caching.rb', line 17

def cache_store=(store)
  config.cache_store = ActiveSupport::Cache.lookup_store(store)
end