Les Hill github twitter facebook linked in archives
Posted October 19, 2008

You can use Haml to write your mailer views and still use the implicit multipart template feature by letting ActionMailer know about Haml:

1 ActionMailer::Base.register_template_extension('haml')

Update

This is no longer necessary with Rails 2.2 and Haml 2.0.5 .

Thanks to Tom Preston-Werner for the CSS layout, Webby for the blog renderer, and GitHub Pages for the blog hosting.