diff options
author | wycats <wycats@gmail.com> | 2010-04-01 13:54:53 -0700 |
---|---|---|
committer | wycats <wycats@gmail.com> | 2010-04-01 13:55:06 -0700 |
commit | d2a48852a197190ecead6650aa62c7df4c3136ee (patch) | |
tree | 2c0a2a070871d74c6f459ddefcd14ca0054d7d6f /actionmailer | |
parent | 46aee9f1f026febf6dd66e5a4e8be57cfa9d64f5 (diff) | |
download | rails-d2a48852a197190ecead6650aa62c7df4c3136ee.tar.gz rails-d2a48852a197190ecead6650aa62c7df4c3136ee.tar.bz2 rails-d2a48852a197190ecead6650aa62c7df4c3136ee.zip |
Updated changelogs
Diffstat (limited to 'actionmailer')
-rw-r--r-- | actionmailer/CHANGELOG | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/actionmailer/CHANGELOG b/actionmailer/CHANGELOG index 0018a2ed5d..c78cfd89ac 100644 --- a/actionmailer/CHANGELOG +++ b/actionmailer/CHANGELOG @@ -1,5 +1,10 @@ *Rails 3.0 (pending)* +* Added interceptors and observers from Mail [ML] + + ActionMailer::Base.register_interceptor calls Mail.register_interceptor + ActionMailer::Base.register_observer calls Mail.register_observer + * Whole new API added with tests. See base.rb for full details. Old API is deprecated. * The Mail::Message class has helped methods for all the field types that return 'common' defaults for the common use case, so to get the subject, mail.subject will give you a string, mail.date will give you a DateTime object, mail.from will give you an array of address specs (mikel@test.lindsaar.net) etc. If you want to access the field object itself, call mail[:field_name] which will return the field object you want, which you can then chain, like mail[:from].formatted |