Robert Walker wrote:
> Ralph Shnelvar wrote:
>> Relative newb here.
>> 
>> Is there a relatively simple way to gracefully trap routing errors?
> 
> I know this is not what you want to hear, but I consider returning the 
> 404 page to be "graceful." That's what the HTTP 404 status code, and 
> page, are for anyway. I would just customize the 404 page and be done 
> with it.

Agreed.  You should never get routing errors unless a user mistypes a 
URL -- and that's what the 404 page is for.  That's all you need.

> 
> Sorry I don't have a more direct answer to your specific question.

That is a direct answer.

BTW: why the "#Shnelvar"?  Aren't you using version control?

Best,
--
Marnen Laibow-Koser
http://www.marnen.org
[email protected]
-- 
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