diff options
author | aditya-kapoor <aditya.kapoor@vinsol.com> | 2013-04-22 16:17:25 +0530 |
---|---|---|
committer | aditya-kapoor <aditya.kapoor@vinsol.com> | 2013-04-22 16:17:25 +0530 |
commit | 0eae24a1a649f7cce88af609555801e506b19a3e (patch) | |
tree | 64688304c5caba323d67039934bf4dbf71ea19b9 | |
parent | 73fece000f93d811337e18f376acc6df3efed6b3 (diff) | |
parent | 98ed2d43c4fb49bf1a45e4f3ddd2502bac5b1caf (diff) | |
download | rails-0eae24a1a649f7cce88af609555801e506b19a3e.tar.gz rails-0eae24a1a649f7cce88af609555801e506b19a3e.tar.bz2 rails-0eae24a1a649f7cce88af609555801e506b19a3e.zip |
Merge branch 'master' of github.com:lifo/docrails
-rw-r--r-- | actionmailer/README.rdoc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/actionmailer/README.rdoc b/actionmailer/README.rdoc index ffd2217d58..a14a6ba18f 100644 --- a/actionmailer/README.rdoc +++ b/actionmailer/README.rdoc @@ -67,12 +67,12 @@ simply call the method and optionally call +deliver+ on the return value. Calling the method returns a Mail Message object: - message = Notifier.welcome # => Returns a Mail::Message object - message.deliver # => delivers the email + message = Notifier.welcome("david@loudthinking.com") # => Returns a Mail::Message object + message.deliver # => delivers the email Or you can just chain the methods together like: - Notifier.welcome.deliver # Creates the email and sends it immediately + Notifier.welcome("david@loudthinking.com").deliver # Creates the email and sends it immediately == Setting defaults |