StackOverflow 文件 Ruby on Rails 教程 ActiveJob 建立工作 建立工作 Created: November-22, 2018 class GuestsCleanupJob < ApplicationJob queue_as :default def perform(*guests) # Do something later end end 排隊工作ActiveJob