small medium large xlarge

20 Feb 2017, 07:57
Zachary Eaton (4 posts)

Hey Folks,

I thought that I’d share really quick, as this was a two day troubleshoot for me. I couldn’t get ActionCable to broadcast, and therefore i couldn’t get the catalog page to auto-update, no matter what I did. Admittedly, against the instruction in the book, I am developing in Rails 5.0.1.

Ok, so the thing that finally got it to work was simply adding

//= require action_cable

to the /app/assets/javascripts/application.js file.

I hope that this helps someone in the future.


22 Mar 2017, 09:03
James West (104 posts)

Awesome. Thanks for sharing. Tearing my hair out over this

You must be logged in to comment