[ci skip] Reword doc for around_enqueue callback

Taken literally, the documentation suggests that the callback gets
called twice (before and after enqueueing). By wording it similarly to
that of around_perform this confusion is avoided.
This commit is contained in:
Tim Wade 2016-05-27 15:39:30 -07:00
parent 9b2a884522
commit ad9882369a
No known key found for this signature in database
GPG Key ID: D734FF7619F4129A
1 changed files with 2 additions and 2 deletions

View File

@ -126,8 +126,8 @@ module ActiveJob
set_callback(:enqueue, :after, *filters, &blk)
end
# Defines a callback that will get called before and after the
# job is enqueued.
# Defines a callback that will get called around the enqueueing
# of the job.
#
# class VideoProcessJob < ActiveJob::Base
# queue_as :default