Skip to content

Commit

Permalink
Add changelog/release note entries for missing ActionMailer super fea…
Browse files Browse the repository at this point in the history
…ture related to inclusion of callbacks in mailers
  • Loading branch information
asanghi committed Oct 10, 2012
1 parent 4c6f75c commit f16ec8c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions actionmailer/CHANGELOG.md
Expand Up @@ -27,4 +27,7 @@


* Asynchronously send messages via the Rails Queue *Brian Cardarella* * Asynchronously send messages via the Rails Queue *Brian Cardarella*


* Allow callbacks to be defined in mailers similar to `ActionController::Base`. You can configure default
settings, headers, attachments, delivery settings or change delivery using `before_filter`, `after_filter` etc. *Justin S. Leitgeb*

Please check [3-2-stable](https://github.com/rails/rails/blob/3-2-stable/actionmailer/CHANGELOG.md) for previous changes. Please check [3-2-stable](https://github.com/rails/rails/blob/3-2-stable/actionmailer/CHANGELOG.md) for previous changes.
2 changes: 2 additions & 0 deletions guides/source/4_0_release_notes.md
Expand Up @@ -141,6 +141,8 @@ Action Mailer
end end
``` ```


* Allow for callbacks in mailers similar to ActionController::Base. You can now set up headers/attachments using `before_filter` or `after_filter`. You could also change delivery settings or prevent delivery in an after filter based on instance variables set in your mailer action. You have access to `ActionMailer::Base` instance methods like `message`, `attachments`, `headers`.

Action Pack Action Pack
----------- -----------


Expand Down

0 comments on commit f16ec8c

Please sign in to comment.