instance method expire_action

Ruby on Rails 3.0.20

Since v2.2.3 Last seen in v3.2.22.5

Available in: v2.2.3 v2.3.18 v3.0.20 v3.1.12 v3.2.22.5

Signature

expire_action(options = {})

No documentation comment.

Parameters

options opt = {}
Source
# File actionpack/lib/action_controller/caching/actions.rb, line 117
      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 117 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActionController::Caching::Actions

Type at least 2 characters to search.

↑↓ navigate · open · esc close