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.


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

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


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