default behavior on unrecognized route in development and production environment

Hello, The default behavior for a new rails 2.1 with mongrel 1.1.5 for an unrecognized route in both a production and development environment is to generate a Routing Exception.

I was under the impression the default in production should be to render 404.html file found in the public directory. Please see my pastie at for how I tested this. I also tested it in ff3 w/the same exception. Am I missing something or doing something incorrectly? Thanks,   Jonathan

The default behavior is for RecordNotFound exceptions to display a 404. I don’t believe that’s true for routiing exceptions.

It's also the case that requests form localhost are handled differently (when dealing with what is displayed when an error occurs).


Ahh that’s right! I forgot about that!