Flowdock
method

fragment_cache_store=

Importance_0
v1.1.1 - Show latest stable - 0 notes - Class: ActionController::Caching::Fragments
fragment_cache_store=(store_option) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionpack/lib/action_controller/caching.rb, line 255
          def self.fragment_cache_store=(store_option)
            store, *parameters = *([ store_option ].flatten)
            @@fragment_cache_store = if store.is_a?(Symbol)
              store_class_name = (store == :drb_store ? "DRbStore" : store.to_s.camelize)
              store_class = ActionController::Caching::Fragments.const_get(store_class_name)
              store_class.new(*parameters)
            else
              store
            end
          end
Register or log in to add new notes.