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

Ruby: Recognise more ActiveRecord connections #15521

Merged
merged 1 commit into from
Feb 12, 2024

Conversation

hmac
Copy link
Contributor

@hmac hmac commented Feb 5, 2024

Recognise calls to connection on ActiveRecord instances.

@github-actions github-actions bot added the Ruby label Feb 5, 2024
| ActiveRecord.rb:56:20:56:39 | "username = #{...}" |
| ActiveRecord.rb:68:21:68:44 | ...[...] |
| ActiveRecord.rb:106:27:106:76 | "this is an unsafe annotation:..." |
| ActiveRecord.rb:17:24:17:24 | q |
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hard to spot, but this is the the argument to connection.execute in the new test case.

@hmac hmac marked this pull request as ready for review February 6, 2024 08:41
@hmac hmac requested a review from a team as a code owner February 6, 2024 08:41
@hmac hmac added the no-change-note-required This PR does not need a change note label Feb 6, 2024
@hmac hmac merged commit 99497e5 into github:main Feb 12, 2024
22 of 23 checks passed
@hmac hmac deleted the hmac-ar-connection branch February 12, 2024 14:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no-change-note-required This PR does not need a change note Ruby
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants