Skip to content

Commit ab22946

Browse files
committed
[ci skip] fix typo in set examples
1 parent 7c4a623 commit ab22946

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

activejob/lib/active_job/core.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,9 @@ def deserialize(job_data)
4040
#
4141
# VideoJob.set(queue: :some_queue).perform_later(Video.last)
4242
# VideoJob.set(wait: 5.minutes).perform_later(Video.last)
43-
# VideoJob.set(wait_until: Time.tomorroe).perform_later(Video.last)
43+
# VideoJob.set(wait_until: Time.now.tomorrow).perform_later(Video.last)
4444
# VideoJob.set(queue: :some_queue, wait: 5.minutes).perform_later(Video.last)
45-
# VideoJob.set(queue: :some_queue, wait_until: Time.tomorroe).perform_later(Video.last)
45+
# VideoJob.set(queue: :some_queue, wait_until: Time.now.tomorrow).perform_later(Video.last)
4646
def set(options={})
4747
ConfiguredJob.new(self, options)
4848
end

0 commit comments

Comments
 (0)