From 8ed276b2f785710420fc51cd1b8fccd89cb4a06e Mon Sep 17 00:00:00 2001 From: Vladimir Dementyev Date: Tue, 29 Jan 2019 22:07:49 -0500 Subject: Add ActionCable channel/connection load hooks --- actioncable/CHANGELOG.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'actioncable/CHANGELOG.md') diff --git a/actioncable/CHANGELOG.md b/actioncable/CHANGELOG.md index f0a01dce47..42edbd6954 100644 --- a/actioncable/CHANGELOG.md +++ b/actioncable/CHANGELOG.md @@ -1,3 +1,16 @@ +* Add `:action_cable_connection` and `:action_cable_channel` load hooks. + + You can use them to extend `ActionCable::Connection::Base` and `ActionCable::Channel::Base` + functionality: + + ```ruby + ActiveSupport.on_load(:action_cable_channel) do + # do something in the context of ActionCable::Channel::Base + end + ``` + + *Vladimir Dementyev* + * Add `Channel::Base#broadcast_to`. You can now call `broadcast_to` within a channel action, which equals to -- cgit v1.2.3