A simple plugin to make the Rails request context available for generating URLs in ActionMailer.
Ruby
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
lib
.gitignore
Gemfile
LICENSE.txt
README.md
Rakefile
actionmailer-with-request.gemspec
init.rb

README.md

ActionMailer with Request

This is a simple plugin that aims to solve the problem to pass a dynamic host for generating URLs in ActionMailer.

For more information, read my blog post at http://www.simonecarletti.com/blog/2009/10/actionmailer-and-host-value/

Requirements

  • Rails 3

Please note

  • ActionMailerWithRequest >= 0.3 requires Rails 3.
  • Use ActionMailerWithRequest 0.2.x with Rails 2.

Installation

$ gem install actionmailer-with-request

Author

Contributors

  • Eric Anderson
  • Didier Lafforgue

License

Copyright (c) 2009-2012 Simone Carletti. This is Free Software distributed under the MIT license.