Flowdock
method

ensure_filter_responds_to_before_and_after

Importance_0
v1.1.6 - Show latest stable - 0 notes - Class: ActionController::Filters::ClassMethods
ensure_filter_responds_to_before_and_after(filter) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionpack/lib/action_controller/filters.rb, line 316
        def ensure_filter_responds_to_before_and_after(filter)
          unless filter.respond_to?(:before) && filter.respond_to?(:after)
            raise ActionControllerError, "Filter object must respond to both before and after"
          end
        end
Register or log in to add new notes.