RailsCasts Pro episodes are now free!

Learn more or hide this

nauti123's Profile

GitHub User: nauti123

Comments by

Avatar

I tried the code example but I get the following error when a request hits the server:
[2011-09-16 15:04:36] ERROR NoMethodError: undefined method new' for "ResponseTimer":String
C:/project/vendor/rails/actionpack/lib/action_controller/middleware_stack.rb:72:in
build'
C:/project/vendor/rails/actionpack/lib/action_controller/middleware_stack.rb:116:in build'
C:/project/vendor/rails/activesupport/lib/active_support/dependencies.rb:443:in
inject'

I am using Rails 2.3.5/ Ruby 1.8.7.