Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 2296340e2d
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 31 lines (21 sloc) 1.348 kb

Rails 4.0.0 (unreleased)

  • Support Mailer.deliver_foo(*args) as a synonym for Mailer.foo(*args).deliver. This makes it easy to write e.g. Mailer.expects(:deliver_foo) when testing code that calls the mailer. Jon Leighton

  • Allow delivery method options to be set per mail instance Aditya Sanghi

    If your smtp delivery settings are dynamic, you can now override settings per mail instance for e.g.

    def my_mailer(user,company)
      mail to: user.email, subject: "Welcome!",
           delivery_method_options: {user_name: company.smtp_user,
                                     password: company.smtp_password}
    end
    

    This will ensure that your default SMTP settings will be overridden by the company specific ones. You only have to override the settings that are dynamic and leave the static setting in your environment configuration file (e.g. config/environments/production.rb)

  • Allow to set default Action Mailer options via config.action_mailer.default_options= Robert Pankowecki

  • Raise an ActionView::MissingTemplate exception when no implicit template could be found. Damien Mathieu

  • Asynchronously send messages via the Rails Queue Brian Cardarella

Please check 3-2-stable for previous changes.

Something went wrong with that request. Please try again.