-
Notifications
You must be signed in to change notification settings - Fork 21.9k
Remove channels from default app/ structure #52344
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
Conversation
Now that Hotwire is the default, the majority of apps won't need custom channels. And those that do can get the files back via the generator.
Unrelated test failures. |
* Remove channels from default app/ structure Now that Hotwire is the default, the majority of apps won't need custom channels. And those that do can get the files back via the generator. * Remove trailing space * Remove additional needless elements * No longer to be generated * No longer generated
* Remove channels from default app/ structure Now that Hotwire is the default, the majority of apps won't need custom channels. And those that do can get the files back via the generator. * Remove trailing space * Remove additional needless elements * No longer to be generated * No longer generated
(Missed this one..) What about authenticating connections? ApplicationCable::Connection is used to authorize WebSocket access for all connections, Hotwire or not. Without it, anyone would be able to establish a connection and waste the server resources, i.e., perform a resource exhaustion attack. |
ah, you beat me to it. exactly what I though when looking at this PR |
Do the testing docs need to be updated?
I don't see that directory even after generating a channel. |
Now that Hotwire is the default, the majority of apps won't need custom channels. And those that do can get the files back via the generator.