Whats the best practice way to initialise a Redis pub/sub subscriber in a Rails app when it starts up?
I have a collection of Rails apps, and I want to have some of them subscribe to a channel waiting for messages. They are all connected to the same Redis server already, but I’m just not sure where to place the code that starts the subscriber to listen for messages.