How does one integrate the 'premailer' gem with a Rails (3.0.7) project? I currently have in my mailer:
def welcome(user)
@user = user
mail to: user.email, subject: "Welcome"
end
But I can't figure out how to integrate the library. I need to call:
premailer = Premailer.new(html)
html = premailer.to_inline_css
However, I'm not sure how to access the contents of my email from a mailer action.