diff options
author | Jimmy Bourassa <jimmy.bourassa@hooktstudios.com> | 2017-08-24 01:13:54 -0400 |
---|---|---|
committer | Jimmy Bourassa <jimmy.bourassa@hooktstudios.com> | 2017-08-29 09:42:28 -0400 |
commit | fbb2fc8aa7d17fd86ad9c3fbbe60ef84a4cde950 (patch) | |
tree | cc7db1c38e4dc64c437b1be50d49192af826cfed /actionmailer/CHANGELOG.md | |
parent | 9a66a22102db76896f400939165ec92280e092e7 (diff) | |
download | rails-fbb2fc8aa7d17fd86ad9c3fbbe60ef84a4cde950.tar.gz rails-fbb2fc8aa7d17fd86ad9c3fbbe60ef84a4cde950.tar.bz2 rails-fbb2fc8aa7d17fd86ad9c3fbbe60ef84a4cde950.zip |
Fix AM::Base.default proc arity breaking change
PR #29270 changed the number of arguments that gets passed to Procs
defined in ActionMail::Base.default. With this changeset, Procs can
now have 1 or 0 arguments
Also adds test coverage for AM::Base.default Proc arity.
Diffstat (limited to 'actionmailer/CHANGELOG.md')
-rw-r--r-- | actionmailer/CHANGELOG.md | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/actionmailer/CHANGELOG.md b/actionmailer/CHANGELOG.md index 9993a11c9d..6859128b24 100644 --- a/actionmailer/CHANGELOG.md +++ b/actionmailer/CHANGELOG.md @@ -1,3 +1,8 @@ +* Bring back proc with arity of 1 in ActionMailer::Base.default proc + since it was supported in Rails 5.0 but not deprecated. + + *Jimmy Bourassa* + * Allow Action Mailer classes to configure their delivery job. class MyMailer < ApplicationMailer |