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

Brian Hogan
Wed, 05 Apr 2006 16:38:11 -0000

You could do that as well.  Or you could get really clever and have the
errors emailed to you.. that way you''ll always get them when
you''re in
production so you can respond to them.


On 4/5/06, Dan Croak <dancroak@yahoo.com> wrote:
>
> 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?
>
> --
> Posted via http://www.ruby-forum.com/.
> _______________________________________________
> Rails mailing list
> Rails@lists.rubyonrails.org
> http://lists.rubyonrails.org/mailman/listinfo/rails
>
-------------- next part --------------
An HTML attachment was scrubbed...