module ActionController::Caching::Actions
def _save_fragment(name, options)
def _save_fragment(name, options) return unless caching_allowed? content = response_body content = content.join if content.is_a?(Array) write_fragment(name, content, options) end
def expire_action(options = {})
def expire_action(options = {}) return unless cache_configured? actions = options[:action] if actions.is_a?(Array) actions.each {|action| expire_action(options.merge(:action => action)) } else expire_fragment(ActionCachePath.new(self, options, false).path) end end