class BillBroadcastJob < ApplicationJob queue_as :default def perform(table) ActionCable.server.broadcast "bill_channel",table: table end end