[Rails] Re: Dealing with Application error (Rails) in production

Agnieszka Figiel
Mon, 03 Apr 2006 18:14:56 -0000

Dan Croak wrote:
> Hi all,
>
> Week 2 working with Ruby on Rails... I have a working app in development
> that is now throwing a generic, "Application error (Rails)"
message in
> production.
>
> How do I deal with this so I can find more information about why the
> error is being thrown in production, but not in development?
>
> Thanks!

You''re not saying whether you only changed the environment or also the
web server.  In the first case try looking in production.log. In the
second case you can also try your webserver''s error log and any
relevant
log like the fcgi crash log.

have a look at these pieces of advise, they mention some of the gotchas
- some may not apply to your setup:
http://ocsforums.com/showthread.php?t=276
http://wiki.rubyonrails.com/rails/pages/Gotcha
http://www.michaelbuffington.com/archives/2006/01/rails_troublesh.html
http://typo.in/

--
Agnieszka