Open rsamoilov opened 3 months ago
This issue has been automatically marked as stale because it has not been commented on for at least three months.
The resources of the Rails team are limited, and so we are asking for your help.
If you can still reproduce this error on the 7-2-stable
branch or on main
, please reply with all of the information you have about it in order to keep the issue open.
Thank you for all your contributions.
Steps to reproduce
Create an ActionCable channel that rejects a subscription in a
before_subscribe
hook:Expected behavior
The
subscribed
method does not get called. This is similar to the behaviour of regular controllers - the action does not get called if abefore_action
hook renders.Actual behavior
The
subscribed
method gets called anyway.System configuration
Rails version: 7.1.3.4
Ruby version: 3.3.3