Topic: How would you define before and after method in a ruby class

Hi Friends,
How would you define before and after method in a ruby class. Just like the case of around_filter in controllers?

Re: How would you define before and after method in a ruby class

As those methods are defined in ActionController::Base, I think you should either subclass the module or 'require' it in your class.