aboutsummaryrefslogtreecommitdiffstats
path: root/actioncable/lib/action_cable/server
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2016-02-28 14:58:28 +0100
committerDavid Heinemeier Hansson <david@loudthinking.com>2016-02-28 14:58:28 +0100
commitdabf47938f17f34d3146e72e1ba7c45defc92379 (patch)
treef76d347f5ba62627954a96eef5176cbf475662be /actioncable/lib/action_cable/server
parent2280c84ffe278fd29217a7997db3739b38dbcc92 (diff)
parentbbe59375d074366b39d08ed078f0da02c7dddae1 (diff)
downloadrails-dabf47938f17f34d3146e72e1ba7c45defc92379.tar.gz
rails-dabf47938f17f34d3146e72e1ba7c45defc92379.tar.bz2
rails-dabf47938f17f34d3146e72e1ba7c45defc92379.zip
Merge pull request #23811 from iamvery/string-channel
Ensure actioncable behaves as expected with non-string queues
Diffstat (limited to 'actioncable/lib/action_cable/server')
-rw-r--r--actioncable/lib/action_cable/server/broadcasting.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actioncable/lib/action_cable/server/broadcasting.rb b/actioncable/lib/action_cable/server/broadcasting.rb
index f90fe7b9e2..98025f27f2 100644
--- a/actioncable/lib/action_cable/server/broadcasting.rb
+++ b/actioncable/lib/action_cable/server/broadcasting.rb
@@ -26,7 +26,7 @@ module ActionCable
# Returns a broadcaster for a named <tt>broadcasting</tt> that can be reused. Useful when you have an object that
# may need multiple spots to transmit to a specific broadcasting over and over.
def broadcaster_for(broadcasting)
- Broadcaster.new(self, broadcasting)
+ Broadcaster.new(self, String(broadcasting))
end
private