mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Add missing error messages for sucker_punch, sneakers and qu activejob adapters [ci skip]
fix error message change raise to use rails conventions fix misspells
This commit is contained in:
parent
76fc205f99
commit
6528b01942
4 changed files with 4 additions and 4 deletions
|
@ -14,7 +14,7 @@ module ActiveJob
|
|||
end
|
||||
|
||||
def enqueue_at(*) #:nodoc:
|
||||
raise NotImplementedError.new("Use a queueing backend to enqueue jobs in the future. Read more at http://guides.rubyonrails.org/active_job_basics.html")
|
||||
raise NotImplementedError, "Use a queueing backend to enqueue jobs in the future. Read more at http://guides.rubyonrails.org/active_job_basics.html"
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -23,7 +23,7 @@ module ActiveJob
|
|||
end
|
||||
|
||||
def enqueue_at(job, timestamp, *args) #:nodoc:
|
||||
raise NotImplementedError
|
||||
raise NotImplementedError, "This queueing backend does not support scheduling jobs. To see what features are supported go to http://api.rubyonrails.org/classes/ActiveJob/QueueAdapters.html"
|
||||
end
|
||||
|
||||
class JobWrapper < Qu::Job #:nodoc:
|
||||
|
|
|
@ -28,7 +28,7 @@ module ActiveJob
|
|||
end
|
||||
|
||||
def enqueue_at(job, timestamp) #:nodoc:
|
||||
raise NotImplementedError
|
||||
raise NotImplementedError, "This queueing backend does not support scheduling jobs. To see what features are supported go to http://api.rubyonrails.org/classes/ActiveJob/QueueAdapters.html"
|
||||
end
|
||||
|
||||
class JobWrapper #:nodoc:
|
||||
|
|
|
@ -23,7 +23,7 @@ module ActiveJob
|
|||
end
|
||||
|
||||
def enqueue_at(job, timestamp) #:nodoc:
|
||||
raise NotImplementedError
|
||||
raise NotImplementedError, "This queueing backend does not support scheduling jobs. To see what features are supported go to http://api.rubyonrails.org/classes/ActiveJob/QueueAdapters.html"
|
||||
end
|
||||
|
||||
class JobWrapper #:nodoc:
|
||||
|
|
Loading…
Reference in a new issue