rails/actioncable/lib
Jean Boussier be258503ac Module#delegate takes a new private `as` parameter
This is a continuation of https://github.com/rails/rails/pull/46875

The behavior of looking up the class method when `to: :class` is passed
is a bit error prone because it silently degrades.

By passing the expected owner of the delegated method, we can be more
strict, and also generate a delegator in a module rather than having
to do it at inclusion time.

I made this argument private API because we want it in Rails, but
I'm worried it might be a bit too sharp for public API. I can
be convinced otherwise though.
2023-12-08 15:09:59 +01:00
..
action_cable Module#delegate takes a new private `as` parameter 2023-12-08 15:09:59 +01:00
rails/generators Add Bun support (#49241) 2023-09-12 16:55:27 -04:00
action_cable.rb Include READMEs in main framework pages of the API documentation 2023-03-21 21:16:28 +01:00