Exception is generated only when you are running a rails app in development
mode. In production mode it will render 404.html, 500.html etc (present in
public directory). You can customize those pages the way you want.

Thanks,
Abhinav

--
अभिनव
http://twitter.com/abhinav



On Mon, Sep 7, 2009 at 11:12 AM, Salil Gaikwad <
[email protected]> wrote:

>
> Hi All,
>
> I want to make a  default page if application is crashes i want to know
> what is the best way to do that. Also when user make some url changes
> application shouldn't get crashed.for ex. if user type url :-
> http://localhost:3000/user/sho/1
> http://localhost:3000/user/show/1 it should notify user that he/she type
> the wrong url intead of getting crashed.
> also i want to render user to a html page for the 404, 500, and other
> this type of the crash.
>
> Thanks & Regards,
>
> Salil Gaikwad
> --
> Posted via http://www.ruby-forum.com/.
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to