Using partials in Actionmailer Templates
actionmailer, bugfix, rails | Comments (3)
If you try to use partials in an actionmailer template, you probably get the the following error message:
undefined method `controller_path’ for SupportMailer:Class
That is because the actionmailer does not support partials out of the box. (here is the belonging Trac Ticket) .
But there are two workarounds:
Patching the actionmailer staticly
This workaround is metioned in the […]
jazzanowak @ March 13, 2008