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

Dan Croak
Wed, 05 Apr 2006 15:59:26 -0000

Brian Hogan wrote:
> I''m only posting this so the next person who has this error will
see
> it...
> Whenever you see this error, modify your database.yml file so that your
> development and production databases are the same and then launch your
> app
> with WEBrick in Development mode. This will rule out your Rails app as
> the
> problem so you can then look at the OS / webserver / database.

Hi Brian,

Are you saying to change the database information for development in the
database.yml to point to the production database?  I''m not sure that my
web hosting company is going to let me connect in that way...

Can''t I just turn the default Rails error messaging to give me full dev
errors somewhere?  (temporarily of course while I track down the
problem)  Or will my web host not allow me to do that, either?