You’re not receiving notifications from this thread.
ActionCable in JumpStart project
Is there anything special I need to consider when using ActionCable in a project created with the JumpStart template?
I've followed several tutorials (e.g. "Action Cable ‘Hello World’ with Rails 5.1") about ActionCable, which work fine by themselves, but I can't transfer that learned knowledge in my JumpStart based project.
/app folder (vs.
/app/assets). None of my coffee scripts in
/cable route getting started.
It would be great if someone could point me in the right direction or give me the most simple example of how to work with ActionCable in a JumpStart based project as I assume this can't be very hard.
Thanks in advance,
The easiest way to setup a channel is just to run the rails generate for it:
rails g channel MyChannel
And it will take care of creating the files for you.
You can read about the JS stuff here in the edge guides: