around_filter HELP!!

why do i keep getting the error: it's an Object that has a before and after method!!!

A filter must be a Symbol, Proc, Method, or object responding to filter, after or before.

around_filter MyTimer.new

class MyTimer   def initalize       @elapsed_time   end   def before(controller)       @start_time = Time.now   end   def after(controller)       @end_time = Time.now   end   def elapsed       @elapsed_time = @end_time - @start_time   end end

Not an answer to your question, but you might want to look at the Benchmark module to provide similar functionality.

///ark

guess I'll respond to this to get it back into discussion today when people are here!!!