A
Size: a a a
A
D
D
D
A
A
A
И
Could not execute command from ({"command"=>"subscribe", "identifier"=>"{\"channel\":\"CardChannel\"}"}) [ActiveRecord::RecordNotFound - Couldn't find List without an ID]
class ListChannel < ApplicationCable::Channel
def subscribed
board = Board.find(params[:board])
stream_for board
end
def unsubscribed
stop_all_streams
end
end
class CardChannel < ApplicationCable::Channel
def subscribed
list = List.find(params[:list])
stream_for list
end
def unsubscribed
stop_all_streams
end
end
class BoardChannel < ApplicationCable::Channel
def subscribed
stream_for "boards_channel"
end
def unsubscribed
stop_all_streams
end
end
subcribed
у ListChannel
и CardChannel
?E
E
W
MF
RA
RA
NG
RA
SS
RO
@feeds = Feed.available(current_user).order(created_at: :desc).includes([:sound, :user, :like, :artist])
ВВ