Filters On Models

Can I put an after style filter on a method that is part of a model that
is
not a create, update, destroy? :slight_smile:

–
John K.
[email protected]

Blog: http://www.kopanas.com
Conference: http://www.cusec.net
Twits: http://www.twitter.com/kopanas

Yes, you can apply a filter to any (public) action. Don’t forget that
if you want to restrict it to your new action then you can use
the :only param as well…

after_filter :clean_up_on_aisle_five, :only=>:aisle_five