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

Tom Davies
Wed, 05 Apr 2006 17:33:22 -0000

Hi Dan,

I think you will find that the exception_notification plugin will help
immensely for you.  I wrote up a brief entry on my blog about it:

http://blog.atomgiant.com/articles/2006/03/20/global-error-handling

Feel free to email me directly if you have any problems.

Tom

On 4/5/06, Brian Hogan <bphogan@gmail.com> wrote:
> 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
> >
>
>
> _______________________________________________
> Rails mailing list
> Rails@lists.rubyonrails.org
> http://lists.rubyonrails.org/mailman/listinfo/rails
>
>
>


--
Tom Davies