diff options
author | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2014-02-25 09:14:35 -0300 |
---|---|---|
committer | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2014-02-25 09:14:36 -0300 |
commit | 71b3910a7d6c9c9a94af31510683390c2b3a1b23 (patch) | |
tree | 5e5b41cf67df8edb1006f694894c73e876c9e3a2 /actionmailer | |
parent | 06f815e61c7167c91dd4ccc68299219a52e6a89c (diff) | |
download | rails-71b3910a7d6c9c9a94af31510683390c2b3a1b23.tar.gz rails-71b3910a7d6c9c9a94af31510683390c2b3a1b23.tar.bz2 rails-71b3910a7d6c9c9a94af31510683390c2b3a1b23.zip |
Point master changelogs to 4-1-stable branch
Remove 4-1 related entries from master [ci skip]
Diffstat (limited to 'actionmailer')
-rw-r--r-- | actionmailer/CHANGELOG.md | 62 |
1 files changed, 1 insertions, 61 deletions
diff --git a/actionmailer/CHANGELOG.md b/actionmailer/CHANGELOG.md index 5a61746700..6203699405 100644 --- a/actionmailer/CHANGELOG.md +++ b/actionmailer/CHANGELOG.md @@ -1,61 +1 @@ -* Support the use of underscored symbols when registering interceptors and - observers like we do elsewhere within Rails. - - *Andrew White* - -* Add the ability to intercept emails before previewing in a similar fashion - to how emails can be intercepted before delivery. - - Fixes #13622. - - Example: - - class CSSInlineStyler - def self.previewing_email(message) - # inline CSS styles - end - end - - ActionMailer::Base.register_preview_interceptor CSSInlineStyler - - *Andrew White* - -* Add mailer previews feature based on 37 Signals mail_view gem. - - *Andrew White* - -* Calling `mail()` without arguments serves as getter for the current mail - message and keeps previously set headers. - - Fixes #13090. - - Example: - - class MailerWithCallback < ActionMailer::Base - after_action :a_callback - - def welcome - mail subject: "subject", to: ["joe@example.com"] - end - - def a_callback - mail # => returns the current mail message - end - end - - *Yves Senn* - -* Instrument the generation of Action Mailer messages. The time it takes to - generate a message is written to the log. - - *Daniel Schierbeck* - -* Invoke mailer defaults as procs only if they are procs, do not convert with - `to_proc`. That an object is convertible to a proc does not mean it's meant - to be always used as a proc. - - Fixes #11533. - - *Alex Tsukernik* - -Please check [4-0-stable](https://github.com/rails/rails/blob/4-0-stable/actionmailer/CHANGELOG.md) for previous changes. +Please check [4-1-stable](https://github.com/rails/rails/blob/4-1-stable/actionmailer/CHANGELOG.md) for previous changes. |