[Ruby] Want ar_mailer and exception_notification to play nice
Eric Hodel
drbrain at segment7.net
Tue Sep 18 16:00:16 PDT 2007
On Sep 17, 2007, at 17:24, Victor Cosby wrote:
> Once I switched over to ar_mailer, exception_notification started
> having
> these errors when it tried to handle exceptions.
>
> NoMethodError (undefined method `perform_delivery_activerecord' for
> #<ExceptionNotifier:0x2aeee4e62da0>)
>
> I want to configure it so that exception_notification doesn't use
> ar_mailer.
>
>
> Could it be as simple as?
>
> ExceptionNotifier.delivery_method = :smtp
Maybe. I've never tried it, and nobody has asked for it.
It may not even be possible to have multiple delivery methods in
ActiveRecord at all.
--
Poor workers blame their tools. Good workers build better tools. The
best workers get their tools to do the work for them. -- Syndicate Wars
More information about the Ruby
mailing list