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

Jeff Coleman
Mon, 03 Apr 2006 19:29:20 -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!

Have you modified your database and migrated the changes on your
production server?

If you add a database field locally and refer to it in your code, you
can get these errors on your production server if the database schema
isn''t up to date.

Jeff