aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/action_cable_overview.md
diff options
context:
space:
mode:
authorJavier Cuevas <javi@diacode.com>2016-10-13 17:49:26 +0200
committerGitHub <noreply@github.com>2016-10-13 17:49:26 +0200
commit3de12286e6d79516831fa03be9e88a1db98b6234 (patch)
treee8c0256d025413ccc486b9b8ed44bdd7d9372f3d /guides/source/action_cable_overview.md
parent454460e87ea97ac4e8a5602112cb09ff3c3dcf42 (diff)
downloadrails-3de12286e6d79516831fa03be9e88a1db98b6234.tar.gz
rails-3de12286e6d79516831fa03be9e88a1db98b6234.tar.bz2
rails-3de12286e6d79516831fa03be9e88a1db98b6234.zip
Improve Action Cable Overview guide
The default adapter in development & test environments is not `redis` but `async`.
Diffstat (limited to 'guides/source/action_cable_overview.md')
-rw-r--r--guides/source/action_cable_overview.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/guides/source/action_cable_overview.md b/guides/source/action_cable_overview.md
index a66a8ff484..99173982b8 100644
--- a/guides/source/action_cable_overview.md
+++ b/guides/source/action_cable_overview.md
@@ -240,9 +240,9 @@ WebNotificationsChannel.broadcast_to(
```
The `WebNotificationsChannel.broadcast_to` call places a message in the current
-subscription adapter (Redis by default)'s pubsub queue under a separate
-broadcasting name for each user. For a user with an ID of 1, the broadcasting
-name would be `web_notifications:1`.
+subscription adapter (by default `redis` for production and `async` for development & test)'s
+pubsub queue under a separate broadcasting name for each user. For a user with an ID of 1,
+the broadcasting name would be `web_notifications:1`.
The channel has been instructed to stream everything that arrives at
`web_notifications:1` directly to the client by invoking the `received`