edge badge
Methods
B
Instance Public methods
broadcast_to(model, message)

Broadcast a hash to a unique broadcasting for this model in this channel.

# File actioncable/lib/action_cable/channel/broadcasting.rb, line 13
def broadcast_to(model, message)
  ActionCable.server.broadcast(broadcasting_for([ channel_name, model ]), message)
end