Wrong URL/Application crashing Notification

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/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 G.

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



On Mon, Sep 7, 2009 at 11:12 AM, Salil G. <

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs