pboling/capistrano_mailer — pull request #5 by jrust (2011-12-07 23:44:58+00:00)
Title: Rails 3 Updates

I've updated the plugin to remove deprecation warnings that come up when using it with rails 3 which should make it good for rails 3.1 as well. This included:
- Using the new way of sending a mail by passing the mail command a hash of options and setting instance variables.
- Using Notifier.email_name().deliver instead
- Using prepend_view_path for the template root
- Remove the content_type setting since just sends a multipart email.

I also commented out the new release_notes variable, because even with version 2.9 of capistrano there was no cap method called release notes.

So it's all working for rails 3, but you may want to update the README to have rails 2.x users use the ~> 3.2 version and rails 3 users use a new 3.3 release since there are too many changes to make it easily backwards compatible.