instance method
expire_action
Ruby on Rails 3.1.12
Since v2.2.3 Last seen in v3.2.22.5Signature
expire_action(options = {})
No documentation comment.
Parameters
-
optionsopt = {}
Source
# File actionpack/lib/action_controller/caching/actions.rb, line 116
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
Defined in actionpack/lib/action_controller/caching/actions.rb line 116
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionController::Caching::Actions