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

Fix ActiveRecordRelation new defined out of class #1985

Merged
merged 1 commit into from
Aug 12, 2024
Merged

Conversation

bitwise-aiden
Copy link
Contributor

Motivation

Following this PR: #1983

Implementation

This fixes the issue with the previous where the method of new was defined as an instance method instead of a class method.

Tests

Updated tests to reflect.

Copy link
Member

@paracycle paracycle left a comment

Choose a reason for hiding this comment

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

Lol, good catch! I can't believe I missed this the first time around. 🤦

@bitwise-aiden bitwise-aiden merged commit df6e272 into main Aug 12, 2024
32 checks passed
@bitwise-aiden bitwise-aiden deleted the ba-fix-ar-new branch August 12, 2024 15:06
@paracycle paracycle added chore and removed bugfix labels Aug 14, 2024
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.

3 participants