Page not found

Hi all

I want to know in which file do i need to make changes if the page is
not found…
i mean say suppose i m opening a url as url.com/images/2 and the id 2
doesnt exist so it will show me routing error…where as i want to
redirect it to some page where it will display a msg that page not
found…

Can neone tell me if this facility is built in RoR? I guess its there
but i m not able to figure it out.

Awaiting Reply

Thanking You

Dhaval P.

Dhaval P. wrote:

Hi all

I want to know in which file do i need to make changes if the page is
not found…
i mean say suppose i m opening a url as url.com/images/2 and the id 2
doesnt exist so it will show me routing error…where as i want to
redirect it to some page where it will display a msg that page not
found…

Can neone tell me if this facility is built in RoR? I guess its there
but i m not able to figure it out.

Awaiting Reply

Thanking You

Dhaval P.

i m not sure bt if i change to production environment will that
automatically work??

Rails has a built in set of files in public folder, 404, 501, 403, rails
in
production mode should use these by default!

On Sat, Apr 26, 2008 at 8:36 AM, Dhaval P. <

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