config/cable.yml
Desired implementation
production:
adapter: redis
url: <%= ENV[“REDIS_URL”] %>
Actual implementation
production:
adapter: redis
url: redis://localhost:6379/1
Why?
-
In real life, most instances won’t be using a locally hosted version of redis
-
Always better to hide info about production
-
Will more easily integrate with third party software
Let me know your thoughts