RailsCasts Pro episodes are now free!

Learn more or hide this

A Nonymous's Profile

GitHub User: cleverlemming

Comments by A Nonymous


For Rails 3.2 >=, you can create an app/middleware dir for response_timer.rb and just add

config.middleware.use "ResponseTimer"

to the Rails.application.configure block in config/environments/development.rb


If you have an issue with assets compiling as I did--no css or javascript (eg. no alert box on destroy) solution is to bump up Rails version to 3.2.14 and run bundle install.

Details are here:

(Interesting to learn how destroy requires Javascript to get a delete request (Started DELETE). )