Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ActionCable channel/connection load hooks #35094

merged 1 commit into from Jan 30, 2019


Copy link

@palkan palkan commented Jan 30, 2019


This PR adds :action_cable_connection and :action_cable_channel load hooks.

You can use them to extend ActionCable::Connection::Base and ActionCable::Channel::Base functionality:

ActiveSupport.on_load(:action_cable_channel) do
  # do something in the context of ActionCable::Channel::Base

@georgeclaghorn georgeclaghorn merged commit 370310b into rails:master Jan 30, 2019
@palkan palkan deleted the feature/action-cable-load-hooks branch January 30, 2019 03:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet

Successfully merging this pull request may close these issues.

None yet

2 participants