instance method skip_filter

Ruby on Rails 3.0.20

Since v3.0.20 Last seen in v4.2.9

Available in: v3.0.20 v3.1.12 v3.2.22.5 v4.0.13 v4.1.16 v4.2.9

Signature

skip_filter(*names, &blk)

Skip before, after, and around filters matching any of the names

Parameters

  • names - A list of valid names that could be used for callbacks. Note that skipping uses Ruby equality, so it’s impossible to skip a callback defined using an anonymous proc using #skip_filter

Parameters

names rest
blk block
Source
# File actionpack/lib/abstract_controller/callbacks.rb, line 51
      def skip_filter(*names, &blk)
        skip_before_filter(*names)
        skip_after_filter(*names)
        skip_around_filter(*names)
      end

Defined in actionpack/lib/abstract_controller/callbacks.rb line 51 · View on GitHub · Improve this page · Find usages on GitHub

Defined in AbstractController::Callbacks::ClassMethods

Type at least 2 characters to search.

↑↓ navigate · open · esc close