aboutsummaryrefslogtreecommitdiffstats
path: root/lib/action_cable/channel/streams.rb
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2015-07-07 21:30:51 +0200
committerDavid Heinemeier Hansson <david@loudthinking.com>2015-07-07 21:30:51 +0200
commit6f4e9dea93ce306ea1badb839a723c2f4de91ccd (patch)
tree054d540ef283c37fce4e9512c0b3d8fd13cf8bcb /lib/action_cable/channel/streams.rb
parent35ffec2c489bead9cc7f9c0525e9c63dc04e3038 (diff)
downloadrails-6f4e9dea93ce306ea1badb839a723c2f4de91ccd.tar.gz
rails-6f4e9dea93ce306ea1badb839a723c2f4de91ccd.tar.bz2
rails-6f4e9dea93ce306ea1badb839a723c2f4de91ccd.zip
No need for this delegator
Diffstat (limited to 'lib/action_cable/channel/streams.rb')
-rw-r--r--lib/action_cable/channel/streams.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/action_cable/channel/streams.rb b/lib/action_cable/channel/streams.rb
index 3eac776e61..9ff2f85fa1 100644
--- a/lib/action_cable/channel/streams.rb
+++ b/lib/action_cable/channel/streams.rb
@@ -13,13 +13,13 @@ module ActionCable
streams << [ broadcasting, callback ]
pubsub.subscribe broadcasting, &callback
- logger.info "#{channel_name} is streaming from #{broadcasting}"
+ logger.info "#{self.class.name} is streaming from #{broadcasting}"
end
def stop_all_streams
streams.each do |broadcasting, callback|
pubsub.unsubscribe_proc broadcasting, callback
- logger.info "#{channel_name} stopped streaming from #{broadcasting}"
+ logger.info "#{self.class.name} stopped streaming from #{broadcasting}"
end
end