class GuestsCleanupJob < ApplicationJob queue_as :default def perform(*guests) # Do something later end end
# Enqueue a job to be performed as soon as the queuing system is free. GuestsCleanupJob.perform_later guest
Topic Id: 8996
Example Ids: 27977,28932
This site is not affiliated with any of the contributors.
Content on the page is taken from Stack Overflow Documentation
This site is NOT affiliated with Stack Overflow or any of the contributors. | Privacy Policy | Terms of Service