For rails actionmailer, any way to debug ActionView :: Template :: Error errors?

In my rails 3.1 application i have

config.action_mailer.raise_delivery_errors = true

in my development.rb file (and, yes, it rebooted with the local dev server, as it changed it to true).

However, when I develop new email templates and run random ActionsView :: Template :: Error, I don’t see any debugging information being sent regarding which line generated the error. (Unlike when one of my regular applications has a problem, the log shows a haml source fragment with the problem).

Is there a way to enable similar debugging messages for email programs?

+5
source share
1 answer

rails - . , .

$ rails c
> MyMailer::maielr_name( var1, var2 ).deliver!
+1

All Articles