*config/cable.yml*

*Desired implementation*
production:
  adapter: redis
  url: <%= ENV["REDIS_URL"] %>

*Actual implementation*
production:
  adapter: redis
  url: redis://localhost:6379/1


*Why?*
1) In real life, most instances won't be using a locally hosted version of 
redis
2) Always better to hide info about production
3) Will more easily integrate with third party software

Let me know your thoughts

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/rubyonrails-core.
For more options, visit https://groups.google.com/d/optout.

Reply via email to