Re: Taking Control of Un-handled Exceptions
by Eric Hodel other posts by this author
Jun 30 2006 10:42PM messages near this date
Taking Control of Un-handled Exceptions
|
Puzzled on the MatchData
On Jun 30, 2006, at 6:00 PM, Steven Hansen wrote:
> I'm trying to catch all un-handled exceptions. I'm having problems
> handling the RoutingError and UnknownAction exceptions.
>
>
> I've added the following to my application controller as a
> protected method:
>
> def rescue_action(exception)
> render(:text => "error")
> end
I think you want the rails list.
--
Eric Hodel - drbrain@[...].net - http://blog.segment7.net
This implementation is HODEL-HASH-9600 compliant
http://trackmap.robotcoop.com
Thread:
Steven Hansen
Eric Hodel
|