[Rails] Re: 500 error in production environment which I don't get in development env

2010-02-11 Thread Gourav
Yes Jens, you can enable logging in production: in your environments/production.rb file enable log level to :debug, as config.log_level = :debug //uncomment this line -Gourav On Feb 11, 12:21 pm, Jens MF wrote: > Hi: I get a strange 500 error in production environment which I don't > get in deve

[Rails] Re: 500 error in production environment which I don't get in development env

2010-02-11 Thread Jens MF
I solved a part of that problem on my own! By starting Webrick i got the error details right on the console. What was going wrong? "undefined method" method occured. A table column could not be found on a model. Even after running migrations. The problem was that RAILS_ENV for some unknown reason w