instance method skip_filter

Ruby on Rails 2.3.18

Since v2.2.3 Last seen in v2.3.18

Available in: v2.2.3 v2.3.18

Signature

skip_filter(*filters)

Removes the specified filters from the filter chain. This only works for method reference (symbol) filters, not procs. This method is different from skip_after_filter and skip_before_filter in that it will match any before, after or yielding around filter.

You can control the actions to skip the filter for with the :only and :except options, just like when you apply the filters.

Parameters

filters rest
Source
# File actionpack/lib/action_controller/filters.rb, line 568
      def skip_filter(*filters)
        filter_chain.skip_filter_in_chain(*filters)
      end

Defined in actionpack/lib/action_controller/filters.rb line 568 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActionController::Filters::ClassMethods

Type at least 2 characters to search.

↑↓ navigate · open · esc close