aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVipul A M <vipulnsward@gmail.com>2014-10-21 00:54:03 +0530
committerVipul A M <vipulnsward@gmail.com>2014-10-21 00:54:03 +0530
commit6ecd33e4e1af17a716e0efbc0f64b8f6a69eb6a7 (patch)
treec9b69a5489e12f2c4852453fa9223dd3aae69986
parent7b87fb1b6493ff4d0373df341e61a4e8b0f8027f (diff)
downloadrails-6ecd33e4e1af17a716e0efbc0f64b8f6a69eb6a7.tar.gz
rails-6ecd33e4e1af17a716e0efbc0f64b8f6a69eb6a7.tar.bz2
rails-6ecd33e4e1af17a716e0efbc0f64b8f6a69eb6a7.zip
- Changed description for AJ enqueuing methods to provide a sane description.
[ci skip]
-rw-r--r--activejob/lib/active_job/base.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/activejob/lib/active_job/base.rb b/activejob/lib/active_job/base.rb
index 913e221d89..0c4a29090e 100644
--- a/activejob/lib/active_job/base.rb
+++ b/activejob/lib/active_job/base.rb
@@ -34,17 +34,17 @@ module ActiveJob #:nodoc:
# Records that are passed in are serialized/deserialized using Global
# Id. More information can be found in Arguments.
#
- # To queue a job to be processed asynchronously immediately:
+ # To enqueue a job to be performed as soon the queueing system is free:
#
# ProcessPhotoJob.perform_later(photo)
#
- # To queue a job to be processed at some point in the future:
+ # To enqueue a job to be processed at some point in the future:
#
# ProcessPhotoJob.set(wait_until: Date.tomorrow.noon).perform_later(photo)
#
# More information can be found in ActiveJob::Core::ClassMethods#set
#
- # A job can also be processed synchronously:
+ # A job can also be processed immediately without sending to the queue:
#
# ProcessPhotoJob.perform_now(photo)
#