-
👋 Anycable team. First of all, a huge thanks to your awesome work! Here is why I'm asking for some help! Context: I've got a Rails application in production (hosted in Heroku) which is being used as an API for mobile devices. It uses ActionCable behind the scene. Goal: we want to use AnyCable in production and based on our tests, it's just a matter of changing the WS URL in the mobile app to the Anycable-go WS server. Question: How do we make our Rails API application work with both ActionCable (legacy) and AnyCable without creating a new Heroku application? Thanks! 🙏 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Alright, so I've re-read very carefully the https://docs.anycable.io/rails/getting_started?id=gradually-migrating-from-action-cable URL. |
Beta Was this translation helpful? Give feedback.
Alright, so I've re-read very carefully the https://docs.anycable.io/rails/getting_started?id=gradually-migrating-from-action-cable URL.
It looks like I just have to keep the adapter to redis in
config/cable.yml
file and that's it.And the Rails API "gRPC" app must use the anycable adapter if I'm right.
Is that correct?