[Ruby] Want ar_mailer and exception_notification to play nice

Joe Van Dyk joevandyk at gmail.com
Sat Oct 6 16:27:47 PDT 2007


On 9/17/07, Victor Cosby <victorcosby at gmail.com> 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

You could try manually creating a TMail object.


More information about the Ruby mailing list