diff options
-rw-r--r-- | guides/source/active_job_basics.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/guides/source/active_job_basics.md b/guides/source/active_job_basics.md index ee8e652485..978d1b55a4 100644 --- a/guides/source/active_job_basics.md +++ b/guides/source/active_job_basics.md @@ -310,8 +310,8 @@ UserMailer.welcome(@user).deliver_now UserMailer.welcome(@user).deliver_later ``` -NOTE: Using the asynchronous queue from a rake task (for example, to -send an email using `.deliver_later`) will generally not work because rake will +NOTE: Using the asynchronous queue from a Rake task (for example, to +send an email using `.deliver_later`) will generally not work because Rake will likely end, causing the in-process thread pool to be deleted, before any/all of the `.deliver_later` emails are processed. To avoid this problem, use `.deliver_now` or run a persistent queue in development as well. |