So I'm happy to see that ActionMailer supports layouts now (it may have for a while, but I just now realized it).
But I don't see a way to turn them off selectively or by multipart type.
For example, if I have a layout that's really simple in "layouts/ email.html.erb":
<div style="border:1px solid gray"> <%= yield %> </div>
I can then use that in my ActionMailer class with a line at the top: layout 'email'
But when I use multipart and have an HTML and a PLAIN file, they both use the layout and thus the plain contains the <div> tag.
Is there any way to avoid this? or turn it off in certain cases?
Thanks,
-Danimal