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

Remove extra ) in the ActiveRecord.find output #1867

Merged
merged 1 commit into from
Apr 15, 2024

Conversation

brendo
Copy link
Contributor

@brendo brendo commented Apr 15, 2024

Motivation

This PR fixes a bug introduced in a225ce0#r140951848 where the ActiveRecord.find RBI would be invalid Ruby because of an additional ).

Implementation

I've just removed the additional ), but I do wonder if there should be a check to ensure the RBI file that's generated is valid Ruby introduced at some point.

@brendo brendo requested a review from a team as a code owner April 15, 2024 00:16
brendo referenced this pull request Apr 15, 2024
With a block it behaves like Enumerable#find
Copy link
Contributor

@KaanOzkan KaanOzkan left a comment

Choose a reason for hiding this comment

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

Thanks

@egiurleo egiurleo merged commit d4034fc into main Apr 15, 2024
35 of 36 checks passed
@egiurleo egiurleo deleted the fix_invalid-ar-find-output branch April 15, 2024 13:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants