Absolutely. The real code is released in a plugin and you can browse the
repo. The code you want to see is at:
I announced the plugin on the Haml list because it applies to templating
languages other than rhtml, but here’s a redux of the announcement:
I just put a plugin together specifically to make ActionMailer play nice
with Haml. It also will work with Markaby or any other “unsupported”
Initially, this code was s’posed to be a Rails patch, but it keeps not
showing up in trunk, so here it is as a plugin. You can read about it
You can get it here:
Reader’s Digest version of instructions:
Step 1: Get it using svn or ‘ruby script/plugin install
Step 2: Add the following line to your environment.rb
Step 3: Just stop typing “rhtml”.
There is no Trac or anything, but your can email me with bugs or
(and be gentle).
Yeah, I finally got it… The way AM is constructed is somewhat
complicated so I had one detail wrong and it led me to the wrong
conclusion: that I had syntactically screwed up.
View this message in context:
Sent from the RubyOnRails Users mailing list archive at Nabble.com.