123456789_123456789_123456789_123456789_123456789_

Module: AbstractController::Caching::ConfigMethods

Relationships & Source Files
Extension / Inclusion / Inheritance Descendants
Included In:
::AbstractController::Caching, ::ActionController::API, ::ActionController::Base, ::ActionMailer::Base, ::ActionView::TestCase::TestController, Rails::ApplicationController, ::Rails::HealthController, Rails::InfoController, Rails::MailersController, Rails::PwaController, Rails::WelcomeController
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 15

def cache_store
  config.cache_store
end

#cache_store=(store) (rw)

[ GitHub ]

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

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