diff options
author | Zachary Scott <e@zzak.io> | 2014-09-26 23:23:18 -0700 |
---|---|---|
committer | Zachary Scott <e@zzak.io> | 2014-09-26 23:23:18 -0700 |
commit | 512122d9845f84e1a813fbd04ae80dee8ccdeb9e (patch) | |
tree | 7519ebbfe86ba2303d3a113f4502996881585fac | |
parent | 7c4a623c257bd52b72be5400984f45ee42b40f0d (diff) | |
parent | ab22946e51d3756e7dff79c396c7ee57043329c5 (diff) | |
download | rails-512122d9845f84e1a813fbd04ae80dee8ccdeb9e.tar.gz rails-512122d9845f84e1a813fbd04ae80dee8ccdeb9e.tar.bz2 rails-512122d9845f84e1a813fbd04ae80dee8ccdeb9e.zip |
Merge pull request #17079 from y-yagi/patch-1
[ci skip] fix typo in set examples
-rw-r--r-- | activejob/lib/active_job/core.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activejob/lib/active_job/core.rb b/activejob/lib/active_job/core.rb index 9db23cc9da..f55db5a588 100644 --- a/activejob/lib/active_job/core.rb +++ b/activejob/lib/active_job/core.rb @@ -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 |