aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZachary Scott <e@zzak.io>2014-11-27 08:41:58 -0800
committerZachary Scott <e@zzak.io>2014-11-27 08:41:58 -0800
commitbf0ba68e642c7c99bbf7118915f4318e2256bdf1 (patch)
tree8729a19c4ac763d828bc6bd5f03184d36e9cd522
parent8fc7eb5f21e42f1bc484c496a6431c284b9ee805 (diff)
parente2cce6cd4138848bbfbac0ea3e48ee9388f966e1 (diff)
downloadrails-bf0ba68e642c7c99bbf7118915f4318e2256bdf1.tar.gz
rails-bf0ba68e642c7c99bbf7118915f4318e2256bdf1.tar.bz2
rails-bf0ba68e642c7c99bbf7118915f4318e2256bdf1.zip
Merge pull request #17800 from jonatack/patch-8
Action Mailer change log pass [ci skip]
-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.