Category "actioncable"

How to configure acts_as_tenant gem with ActionCable in rails7

I'm working on a project with I use ActionCable, at the moment I'm learning about acts_as_tenant gem. I implement it in the project, but my WebSockets don't wor

RuntimeError - Unable to find subscription with identifier: when ios app try to send a message

I am using WebSocket for comments on a post. ios user subscribe to the comment_channel and I got confirmation that the user successfully subscribed to comment_c

get or post within ActionCable tests in Rails 6?

I am using a JWT to authenticate my user. So when a user want to connect to the ActionCable server, it does something like this: Get a JWT from REST endpoint:

ActionCable stops working with no output - Javascript

I am using the following code in order to get the updates from a server: const { ActionCable } = require('@sorare/actioncable'); const cable = new ActionCable({