Skip to content

Commit 1f8f2fb

Browse files
authored
Merge pull request rails#49751 from wjohnstondrip/fix-method-name-sucker-punch-enqueued-at
Fix ActiveJob method name in sucker_punch 1.0 error
2 parents fefd8f3 + 584a9d4 commit 1f8f2fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

activejob/lib/active_job/queue_adapters/sucker_punch_adapter.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def enqueue_at(job, timestamp) # :nodoc:
3333
delay = timestamp - Time.current.to_f
3434
JobWrapper.perform_in delay, job.serialize
3535
else
36-
raise NotImplementedError, "sucker_punch 1.0 does not support `enqueued_at`. Please upgrade to version ~> 2.0.0 to enable this behavior."
36+
raise NotImplementedError, "sucker_punch 1.0 does not support `enqueue_at`. Please upgrade to version ~> 2.0.0 to enable this behavior."
3737
end
3838
end
3939

0 commit comments

Comments
 (0)