Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

rescue_from routing errors

#744

Errors raised during route recognition, such as ActionController::NotImplemented, ActionController::MethodNotAllowed, and ActionController::RoutingError, cannot be handled by a rescue_from call in ActionController::Base or a subclass.

Handling these is as easy as adding a call to

@controller.rescue_action_with_handler inside ActionController::Dispatcher#dispatch.

Reported by Gaius Centus Novus · August 2nd, 2008 @ 01:57 AM

State: duplicate
Milestone: 2.x
Assigned to: nobody
Importance: none