| ||||
A blog about Ruby, Rails and other Tech. Mostly.Back to blog
It seems that actionmailer now expects you to give the .rhtml extension after the template name in render_message. This used to work:
part "text/html" do |p|
p.body = render_message("some.text.html", :foo => foo)
end
But now you need this:
part "text/html" do |p|
p.body = render_message("some.text.html.rhtml", :foo => foo)
end
Back to blog |