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

Deprecate name argument in remove_connection #48681

Conversation

eileencodes
Copy link
Member

The name argument is not useful as remove_connection should be called on the class that established the connection. Allowing name to be passed here doesn't match how any of the other methods behave on the connection classes. While this behavior has been around for a long time, I'm not sure anyone is using this as it's not documented when to use name, nor are there any tests.

The `name` argument is not useful as `remove_connection` should be called
on the class that established the connection. Allowing `name` to be
passed here doesn't match how any of the other methods behave on the
connection classes. While this behavior has been around for a long time,
I'm not sure anyone is using this as it's not documented when to use
name, nor are there any tests.
@eileencodes eileencodes merged commit e79250c into rails:main Jul 6, 2023
9 checks passed
@eileencodes eileencodes deleted the deprecate-name-argument-in-remove_connection branch July 6, 2023 20:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant