GoRails Screencasts

Disabling ActionCable for Unauthenticated Users


Listen Later

To only have ActionCable's JS connect for logged in users, we can setup our Javascript to know when a user is authenticated or not, and have our websocket try to connect accordingly.
...more
View all episodesView all episodes
Download on the App Store

GoRails ScreencastsBy Chris Oliver