aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/action_mailer_basics.md
diff options
context:
space:
mode:
authorLogan Hasson <logan.hasson@gmail.com>2014-08-21 08:18:56 -0400
committerLogan Hasson <logan.hasson@gmail.com>2014-08-21 10:55:50 -0400
commit3941b8da9fcba93c30dd8dc89af648872b809e5e (patch)
treea515d463bdaea3c6fe93de8a0c97274943c7dc1e /guides/source/action_mailer_basics.md
parentf60348069afc479f84c31aebfc4bceb20a751e52 (diff)
downloadrails-3941b8da9fcba93c30dd8dc89af648872b809e5e.tar.gz
rails-3941b8da9fcba93c30dd8dc89af648872b809e5e.tar.bz2
rails-3941b8da9fcba93c30dd8dc89af648872b809e5e.zip
[ci skip] Clarify Action Mailer/Active Job usage note
Diffstat (limited to 'guides/source/action_mailer_basics.md')
-rw-r--r--guides/source/action_mailer_basics.md10
1 files changed, 5 insertions, 5 deletions
diff --git a/guides/source/action_mailer_basics.md b/guides/source/action_mailer_basics.md
index 6b6ce145e4..f981d0da47 100644
--- a/guides/source/action_mailer_basics.md
+++ b/guides/source/action_mailer_basics.md
@@ -187,13 +187,13 @@ class UsersController < ApplicationController
end
```
-NOTE: By default Active Job is configured to execute the job `:inline`. So you can
-use `deliver_later` now to send the emails and when you decide to start sending the
-email from a background job you'll just have to setup Active Job to use a queueing
+NOTE: Active Job's default behavior is to execute jobs ':inline'. So, you can use
+`deliver_later` now to send emails, and when you later decide to start sending
+them from a background job, you'll only need to set up Active Job to use a queueing
backend (Sidekiq, Resque, etc).
-If you want to send the emails right away (from a cronjob for example) just
-call `deliver_now`:
+If you want to send emails right away (from a cronjob for example) just call
+`deliver_now`:
```ruby
class SendWeeklySummary