logo
  • 教程列表
  • SO官方文档
  • ActiveJob
    • 创建工作
    • 排队工作
  1. StackOverflow 文档
  2. Ruby on Rails 教程
  3. ActiveJob
  4. 创建工作

创建工作

Created: November-22, 2018

class GuestsCleanupJob < ApplicationJob
  queue_as :default
 
  def perform(*guests)
    # Do something later
  end
end
  • 排队工作
  • ActiveJob

Copyright © 2018. All right reserved

tastones.com 备案号:鲁ICP备18045372号-1

  • 关于我们
  • 免责声明