|
1 | | -## Rails 4.0.0 (unreleased) ## |
| 1 | +* No changes. |
2 | 2 |
|
3 | | - |
4 | | -## Rails 4.0.0.beta1 (February 25, 2013) ## |
5 | | - |
6 | | -* Allow passing interpolations to `#default_i18n_subject`, e.g.: |
7 | | - |
8 | | - # config/locales/en.yml |
9 | | - en: |
10 | | - user_mailer: |
11 | | - welcome: |
12 | | - subject: 'Hello, %{username}' |
13 | | - |
14 | | - # app/mailers/user_mailer.rb |
15 | | - class UserMailer < ActionMailer::Base |
16 | | - def welcome(user) |
17 | | - mail(subject: default_i18n_subject(username: user.name)) |
18 | | - end |
19 | | - end |
20 | | - |
21 | | - *Olek Janiszewski* |
22 | | - |
23 | | -* Eager loading made to use relation's `in_clause_length` instead of host's one. |
24 | | - Fixes #8474. |
25 | | - |
26 | | - *Boris Staal* |
27 | | - |
28 | | -* Explicit multipart messages no longer set the order of the MIME parts. |
29 | | - |
30 | | - *Nate Berkopec* |
31 | | - |
32 | | -* Do not render views when `mail` isn't called. Fixes #7761. |
33 | | - |
34 | | - *Yves Senn* |
35 | | - |
36 | | -* Allow delivery method options to be set per mail instance. |
37 | | - |
38 | | - If your SMTP delivery settings are dynamic, you can now override settings |
39 | | - per mail instance for e.g. |
40 | | - |
41 | | - def my_mailer(user, company) |
42 | | - mail to: user.email, subject: "Welcome!", |
43 | | - delivery_method_options: { user_name: company.smtp_user, |
44 | | - password: company.smtp_password } |
45 | | - end |
46 | | - |
47 | | - This will ensure that your default SMTP settings will be overridden |
48 | | - by the company specific ones. You only have to override the settings |
49 | | - that are dynamic and leave the static setting in your environment |
50 | | - configuration file (e.g. `config/environments/production.rb`). |
51 | | - |
52 | | - *Aditya Sanghi* |
53 | | - |
54 | | -* Allow to set default Action Mailer options via `config.action_mailer.default_options=`. *Robert Pankowecki* |
55 | | - |
56 | | -* Raise an `ActionView::MissingTemplate` exception when no implicit template could be found. *Damien Mathieu* |
57 | | - |
58 | | -* Allow callbacks to be defined in mailers similar to `ActionController::Base`. You can configure default |
59 | | - settings, headers, attachments, delivery settings or change delivery using |
60 | | - `before_filter`, `after_filter`, etc. *Justin S. Leitgeb* |
61 | | - |
62 | | -Please check [3-2-stable](https://github.com/rails/rails/blob/3-2-stable/actionmailer/CHANGELOG.md) for previous changes. |
| 3 | +Please check [4-0-stable](https://github.com/rails/rails/blob/4-0-stable/actionmailer/CHANGELOG.md) for previous changes. |
0 commit comments