instance method expire_action

Ruby on Rails 2.3.18

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 71
        def expire_action(options = {})
          return unless cache_configured?

          if options[:action].is_a?(Array)
            options[:action].dup.each do |action|
              expire_fragment(ActionCachePath.path_for(self, options.merge({ :action => action }), false))
            end
          else
            expire_fragment(ActionCachePath.path_for(self, options, false))
          end
        end

Defined in actionpack/lib/action_controller/caching/actions.rb line 71 · 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