Seeing 404 and 500 errors

Hi,

I’m developing an app on Mac OS X (Leopard), Rails 1.2, and Mogrel.

In developing, I have never seen 404 and 500 pages located in /public
directory.

I also tried running the server in the production mode by script/ server -e production, but I couldn’t see 404 pages.

I want to have a 404 page instead of “MethodMissing” and “Routing
Errors”…

Tek

I think accessing it from localhost will always give you those errors.
Try
accessing it remotely.

On Tue, Apr 1, 2008 at 12:44 PM, Teck [email protected] wrote:

I want to have a 404 page instead of “MethodMissing” and “Routing
Errors”…

Tek


Ryan B.
http://www.frozenplague.net
Feel free to add me to MSN and/or GTalk as this email.

No actually it’s because you’re not running in production mode.

Julian.

Learn about Ruby on Rails! CHECK OUT THE FREE VIDS (LIMITED TIME) NEW
VIDEO OUT 3rd APRIL
http://sensei.zenunit.com/

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