aboutsummaryrefslogtreecommitdiffstats
path: root/activejob
diff options
context:
space:
mode:
authorVipul A M <vipulnsward@gmail.com>2014-10-22 19:26:46 +0530
committerVipul A M <vipulnsward@gmail.com>2014-10-22 19:26:46 +0530
commit9494c74a9d50f31831837db31ab5eeff251311ae (patch)
tree3e32972a2ab4d34f16b1a1fb0b83c785641c169e /activejob
parentf1e189410124acc5cd3c84c6b3d992ae3f00c962 (diff)
downloadrails-9494c74a9d50f31831837db31ab5eeff251311ae.tar.gz
rails-9494c74a9d50f31831837db31ab5eeff251311ae.tar.bz2
rails-9494c74a9d50f31831837db31ab5eeff251311ae.zip
- Fix error string raised from `enqueue_at`
Diffstat (limited to 'activejob')
-rw-r--r--activejob/lib/active_job/queue_adapters/queue_classic_adapter.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activejob/lib/active_job/queue_adapters/queue_classic_adapter.rb b/activejob/lib/active_job/queue_adapters/queue_classic_adapter.rb
index 1a46f20420..34c11a68b2 100644
--- a/activejob/lib/active_job/queue_adapters/queue_classic_adapter.rb
+++ b/activejob/lib/active_job/queue_adapters/queue_classic_adapter.rb
@@ -26,7 +26,7 @@ module ActiveJob
queue = build_queue(job.queue_name)
unless queue.respond_to?(:enqueue_at)
raise NotImplementedError, 'To be able to schedule jobs with queue_classic ' \
- 'the QC::Queue needs to respond to `enqueue_at(timestamp, method, *args)`. '
+ 'the QC::Queue needs to respond to `enqueue_at(timestamp, method, *args)`. ' \
'You can implement this yourself or you can use the queue_classic-later gem.'
end
queue.enqueue_at(timestamp, "#{JobWrapper.name}.perform", job.serialize)