Rescue from Dispatching in Ruby on Rails

Just stumbled across this while over at RailsEnvy: it’s a great new way to handle exceptions such as RoutingError and MethodNotAllowed. Also check out the RDoc Documentation. I definitely need to implement this, as my error handling for bad routing and incorrect URLs is terrible at the moment.

Posted on September 3, 2008
Tagged with: , ,

Leave A Comment

Ajax-loader