Try this
http://wiki.rubyonrails.com/rails/show/HowtoConfigureTheErrorPageForYourRailsApp
On 7/31/05, David Corbin <dcorbin-wmGZ+vDKSyrZJqsBc5GL+g@public.gmane.org>
wrote:> Does Rails have any support for registering global/controller level
exception
> handlers? Specifically, I''d like to be able to raise particular
exceptions
> in my controller logic, and have them universally processed, rendering a
page
> as a result.
>
> David
> _______________________________________________
> Rails mailing list
> Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
> http://lists.rubyonrails.org/mailman/listinfo/rails
>