instance method
check_adapter
Ruby on Rails 8.0.4
Since v8.0.4 Last seen in v8.0.4Signature
check_adapter()
No documentation comment.
Source
# File activejob/lib/active_job/queue_adapters/sucker_punch_adapter.rb, line 21
def check_adapter
ActiveJob.deprecator.warn <<~MSG.squish
The `sucker_punch` adapter is deprecated and will be removed in Rails 8.1.
Please use the `async` adapter instead.
MSG
end
Defined in activejob/lib/active_job/queue_adapters/sucker_punch_adapter.rb line 21
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveJob::QueueAdapters::SuckerPunchAdapter