Flowdock
method

after_filter

Importance_2
v1.2.6 - Show latest stable - 2 notes - Class: ActionController::Filters::ClassMethods
after_filter(*filters, &block) public
Register or log in to add new notes.
March 30, 2011 - (>= v3.0.0)
2 thanks

After filters are not called when exception occurs

Please note after filters are not executed when an exception occurs. You have to handle these situations explicitly.

February 9, 2012 - (<= v3.1.0)
1 thank

:only, :except and passing in multiple parameters

To specify that the filter should be applied to or excluded from given controller actions, use the :only and :except parameters. To pass in multiple controller actions use an array:

after_filter :authorize, :except => [:index, :show]
after_filter :authorize, :only => :delete

Stolen from: http://apidock.com/rails/ActionController/Filters/ClassMethods/before_filter