aboutsummaryrefslogtreecommitdiffstats
path: root/actionmailer/README.rdoc
diff options
context:
space:
mode:
authorCristian Bica <cristian.bica@gmail.com>2014-08-20 15:34:37 +0300
committerCristian Bica <cristian.bica@gmail.com>2014-08-20 17:48:34 +0300
commit9e7f4a94caa9019b2ef0295ad242fbed0acf8bb6 (patch)
treec12dd82460b3d8e7b351effe4afd3b8f0e5f4cf8 /actionmailer/README.rdoc
parentf4ee114746ddc68db606f63e17e6de28274fc2bd (diff)
downloadrails-9e7f4a94caa9019b2ef0295ad242fbed0acf8bb6.tar.gz
rails-9e7f4a94caa9019b2ef0295ad242fbed0acf8bb6.tar.bz2
rails-9e7f4a94caa9019b2ef0295ad242fbed0acf8bb6.zip
Updated rdoc / guides / release notes related to ActiveJob / ActionMailer
Diffstat (limited to 'actionmailer/README.rdoc')
-rw-r--r--actionmailer/README.rdoc6
1 files changed, 3 insertions, 3 deletions
diff --git a/actionmailer/README.rdoc b/actionmailer/README.rdoc
index ceca912ada..3b8e3ed749 100644
--- a/actionmailer/README.rdoc
+++ b/actionmailer/README.rdoc
@@ -65,12 +65,12 @@ In order to send mails, you simply call the method and then call +deliver+ on th
Calling the method returns a Mail Message object:
- message = Notifier.welcome("david@loudthinking.com") # => Returns a Mail::Message object
- message.deliver # => delivers the email
+ message = Notifier.welcome("david@loudthinking.com") # => Returns a Mail::Message object
+ message.deliver_now # => delivers the email
Or you can just chain the methods together like:
- Notifier.welcome("david@loudthinking.com").deliver # Creates the email and sends it immediately
+ Notifier.welcome("david@loudthinking.com").deliver_now # Creates the email and sends it immediately
== Setting defaults