diff options
author | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2014-09-27 15:07:24 +0900 |
---|---|---|
committer | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2014-09-27 15:07:24 +0900 |
commit | ab22946e51d3756e7dff79c396c7ee57043329c5 (patch) | |
tree | 7519ebbfe86ba2303d3a113f4502996881585fac /activejob/lib/active_job | |
parent | 7c4a623c257bd52b72be5400984f45ee42b40f0d (diff) | |
download | rails-ab22946e51d3756e7dff79c396c7ee57043329c5.tar.gz rails-ab22946e51d3756e7dff79c396c7ee57043329c5.tar.bz2 rails-ab22946e51d3756e7dff79c396c7ee57043329c5.zip |
[ci skip] fix typo in set examples
Diffstat (limited to 'activejob/lib/active_job')
-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 |