John Shaibu Jnr said 7 months ago on ActionCable - Part 3 - Securing Your WebSockets :
env['warden'].user is not working its returning nil instead and I am using devise. Any remedies to this?

David Kimura PRO said 7 months ago on ActionCable - Part 3 - Securing Your WebSockets :
If you're on a Rails 7 Application, I would probably not create custom channels if you can avoid it. Hotwire's Turbo has gotten us so far to where a lot of the manual channels are no longer needed and can exist in the background now through Turbo.

John Shaibu Jnr said 7 months ago on ActionCable - Part 3 - Securing Your WebSockets :
My project is using Rails 6. How can I get env['warden'].user return a real user rather than the nil I am geeting

Login to Comment