Horje

Ruby on Rails - ActiveJob
Start
  Create the Job
class GuestsCleanupJob < ApplicationJob
  queue_as :default
 
  def perform(*guests)
    # Do something later
  end
end

  Enqueue the Job
# Enqueue a job to be performed as soon as the queuing system is free.
GuestsCleanupJob.perform_later guest


Read Article
https://develop.horje.com/learn/1434/reference