You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 30, 2022. It is now read-only.
Hi. We are running into a problem with default scopes with or conditions when squeel is required. This problem can be reproduced easily from this project:
I go into detail within the readme but to sum up, a default scope with an or condition and additional where criteria causes queries with joins from a parent to be malformed. The problem occurs without us using any squeel syntax. The project contains a test that demonstrates the problem only occurs with squeel required.
Hi. We are running into a problem with default scopes with
orconditions when squeel is required. This problem can be reproduced easily from this project:https://github.com/viewthespace/squeel_default_scope_or_condition_with_joins
I go into detail within the readme but to sum up, a default scope with an or condition and additional where criteria causes queries with joins from a parent to be malformed. The problem occurs without us using any squeel syntax. The project contains a test that demonstrates the problem only occurs with squeel required.
thx!
-karl