EPISODE · Jul 11, 2016 · 8 MIN
Disabling ActionCable for Unauthenticated Users
from GoRails Screencasts · host Chris Oliver
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.
What this episode covers
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.
NOW PLAYING
Disabling ActionCable for Unauthenticated Users
No transcript for this episode yet
Similar Episodes
Jun 7, 2026 ·13m
May 3, 2026 ·17m
Apr 5, 2026 ·3m
Apr 1, 2026 ·6m
Mar 1, 2026 ·19m
Feb 1, 2026 ·23m