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

Allow to eager load nested nil associations #52619

Merged
merged 1 commit into from
Aug 15, 2024

Conversation

fatkodima
Copy link
Member

Closes #52592.

It is already possible to pass plain nil or a an array including nil to eager load methods. Only the hash was left.

cc @akicho8 @byroot

@byroot byroot merged commit d102960 into rails:main Aug 15, 2024
3 checks passed
@akicho8
Copy link
Contributor

akicho8 commented Aug 16, 2024

@fatkodima Thanks!

rafaelfranca pushed a commit that referenced this pull request Aug 16, 2024
Allow to eager load nested nil associations
rafaelfranca pushed a commit that referenced this pull request Aug 16, 2024
Allow to eager load nested nil associations
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.

Error when using nil in hash values with includes method
3 participants