mirror of https://github.com/rails/rails
[ci skip] fix typo in set examples
This commit is contained in:
parent
7c4a623c25
commit
ab22946e51
|
@ -40,9 +40,9 @@ module ActiveJob
|
|||
#
|
||||
# VideoJob.set(queue: :some_queue).perform_later(Video.last)
|
||||
# VideoJob.set(wait: 5.minutes).perform_later(Video.last)
|
||||
# VideoJob.set(wait_until: Time.tomorroe).perform_later(Video.last)
|
||||
# VideoJob.set(wait_until: Time.now.tomorrow).perform_later(Video.last)
|
||||
# VideoJob.set(queue: :some_queue, wait: 5.minutes).perform_later(Video.last)
|
||||
# VideoJob.set(queue: :some_queue, wait_until: Time.tomorroe).perform_later(Video.last)
|
||||
# VideoJob.set(queue: :some_queue, wait_until: Time.now.tomorrow).perform_later(Video.last)
|
||||
def set(options={})
|
||||
ConfiguredJob.new(self, options)
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue