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

Support joins in an association's scope for preloading #51

Closed
wants to merge 1 commit into from

Conversation

kadenbarlow
Copy link

Went to go update jit_preloader (was on a version that didn't have the STI changes yet, and it broke several has_many_aggregates. The reason was that the table_reference was incorrect because these has_many_aggregates had a join in their scope along with a where and the current code didn't take that into account. Don't know if this is the best way to go about it but it does solve the problem I was facing.

@kadenbarlow
Copy link
Author

Any update on this?

@kadenbarlow kadenbarlow closed this Oct 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant