aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJon Atack <jon@atack.com>2014-11-27 17:36:15 +0100
committerJon Atack <jon@atack.com>2014-11-27 17:36:15 +0100
commite2cce6cd4138848bbfbac0ea3e48ee9388f966e1 (patch)
treec2d005541c7341d89be4e533ecbb0ffb8ed5fb36
parent07f4bd5b60d062bda58a45ca5f832a0a6bcdc713 (diff)
downloadrails-e2cce6cd4138848bbfbac0ea3e48ee9388f966e1.tar.gz
rails-e2cce6cd4138848bbfbac0ea3e48ee9388f966e1.tar.bz2
rails-e2cce6cd4138848bbfbac0ea3e48ee9388f966e1.zip
Action Mailer change log pass
[skip ci]
-rw-r--r--actionmailer/CHANGELOG.md43
1 files changed, 21 insertions, 22 deletions
diff --git a/actionmailer/CHANGELOG.md b/actionmailer/CHANGELOG.md
index 9fdda52f77..8d4164ee62 100644
--- a/actionmailer/CHANGELOG.md
+++ b/actionmailer/CHANGELOG.md
@@ -1,44 +1,42 @@
-* MailerGenerator now generates layouts by default. HTML mailer layout will
- include `<html>` and `<body>` tags which will help to reduce spam score in
- some spam detection engines. Mailers will now inherit from `ApplicationMailer`
+* `MailerGenerator` now generates layouts by default. The HTML mailer layout
+ now includes `<html>` and `<body>` tags which improve the spam rating in
+ some spam detection engines. Mailers now inherit from `ApplicationMailer`
which sets the default layout.
*Andy Jeffries*
-* `link_to` and `url_for` generate URLs by default in templates, it is no
- longer needed to pass `only_path: false`.
+* `link_to` and `url_for` now generate URLs by default in templates.
+ Passing `only_path: false` is longer needed.
Fixes #16497 and #16589.
*Xavier Noria*, *Richard Schneeman*
-* Attachments can be added while rendering the mail template.
+* Attachments can now be added while rendering the mail template.
Fixes #16974.
*Christian Felder*
-* Added `#deliver_later`, `#deliver_now` and deprecate `#deliver` in favour of
- `#deliver_now`. `#deliver_later` will enqueue a job to render and deliver
- the mail instead of delivering it right at that moment. The job is enqueued
- using the new Active Job framework in Rails, and will use whatever queue is
- configured for Rails.
+* Add `#deliver_later` and `#deliver_now` methods and deprecate `#deliver` in
+ favor of `#deliver_now`. `#deliver_later` will enqueue a job to render and
+ deliver the mail instead of delivering it immediately. The job is enqueued
+ using the new Active Job framework in Rails and will use the queue that you
+ have configured in Rails.
*DHH*, *Abdelkader Boudih*, *Cristian Bica*
-* Make `ActionMailer::Previews` methods class methods. Previously they were
- instance methods and `ActionMailer` tries to render a message when they
- are called.
+* `ActionMailer::Previews` are now class methods instead of instance methods.
*Cristian Bica*
-* Deprecate `*_path` helpers in email views. When used they generate
- non-working links and are not the intention of most developers. Instead
- we recommend to use `*_url` helper.
+* Deprecate `*_path` helpers in email views. They generated broken
+ links and were not the intention of most developers. The `*_url`
+ helper is recommended instead.
*Richard Schneeman*
-* Raise an exception when attachments are added after `mail` was called.
+* Raise an exception when attachments are added after `mail` is called.
This is a safeguard to prevent invalid emails.
Fixes #16163.
@@ -47,10 +45,10 @@
* Add `config.action_mailer.show_previews` configuration option.
- This config option can be used to enable the mail preview in environments
- other than development (such as staging).
+ This configuration option can be used to enable the mail preview in
+ environments other than development (such as staging).
- Defaults to `true` in development and false elsewhere.
+ Defaults to `true` in development and `false` elsewhere.
*Leonard Garvey*
@@ -61,4 +59,5 @@
*Yves Senn*
-Please check [4-1-stable](https://github.com/rails/rails/blob/4-1-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.