Sha256: 379c85da5be449fba66c0ee3d5691bbac9aba2e224749f6ffd1d78305d81bfc0
Contents?: true
Size: 674 Bytes
Versions: 3
Compression:
Stored size: 674 Bytes
Contents
# Premailer Rails 3 README This gem is a no config solution for the wonderful [Premailer gem](https://github.com/alexdunae/premailer) to be used with Rails 3. It uses interceptors which were introduced in Rails 3 and tweaks all mails which receive the `deliver` method and adds a plain text part to it and inlines all CSS rules into the HTML part. Currently it ignores any stylesheets linked within the email in favour of applying the stylesheet found at `public/stylesheets/email.css` or, if you use SASS on Heroku with Hassle, at `tmp/hassle/stylesheets/email.css`. ## Installation Simply add the gem to your Gemfile in your Rails project: gem 'premailer-rails3'
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
premailer-rails3-1.0.0 | README.md |
premailer-rails3-0.2 | README.md |
premailer-rails3-0.1 | README.md |