John Cox
1 min readAug 19, 2019

--

One detail that I ran into for local development:
If you want to be able to broadcast messages from the Rails console, you’ll need to configure correctly (assuming you have Redis running locally)…

# config/cable.yml
```
redis: &redis
adapter: redis
url: redis://localhost:6379/1

development: *redis

test:
adapter: async

production:
adapter: redis
url: <%= ENV.fetch(“REDIS_URL”) { “redis://localhost:6379/1” } %>
channel_prefix: your_app_production
```

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

John Cox
John Cox

Written by John Cox

Engineer, Leader, Adventurer

No responses yet

Write a response