diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2016-02-28 14:58:28 +0100 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2016-02-28 14:58:28 +0100 |
commit | dabf47938f17f34d3146e72e1ba7c45defc92379 (patch) | |
tree | f76d347f5ba62627954a96eef5176cbf475662be /actioncable/lib/action_cable/server | |
parent | 2280c84ffe278fd29217a7997db3739b38dbcc92 (diff) | |
parent | bbe59375d074366b39d08ed078f0da02c7dddae1 (diff) | |
download | rails-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.rb | 2 |
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 |