This project is archived and is in readonly mode.
rescue_from routing errors
Reported by Gaius Centus Novus | August 2nd, 2008 @ 01:57 AM | in 2.x
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.
Comments and changes to this ticket
-
Pratik September 16th, 2008 @ 10:39 AM
- State changed from new to duplicate
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
<h2 style="font-size: 14px">Tickets have moved to Github</h2>
The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>