rescue_action_in_pubic maybe ?
http://api.rubyonrails.com/classes/ActionController/Rescue.html#M000042
On 12/29/05, lester bangs
<dumpingrounds-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:>
> i''m at the point where managment wants to see a rough prototype of
my
> rails
> app. i''m confident it works well, but i''m sure things
were missed during
> the
> brisk development cycle. as a result, i''d like to set up the app
such
> that if
> an error occurs, a pretty page comes up saying ''not yet
implemented'' or
> ''coming
> soon.'' just something that doesnt dump a bunch of code on the
screen,
> whether
> its a logic error, DB connection issue, validation issues, whatever.
i''m
> assuming the code for this would go in application.rb, but i''m not
sure
> what to
> put in it so it handles *every* error.
>
> _______________________________________________
> Rails mailing list
> Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
> http://lists.rubyonrails.org/mailman/listinfo/rails
>
_______________________________________________
Rails mailing list
Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
http://lists.rubyonrails.org/mailman/listinfo/rails