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
Have the following set of related models, and use the reverse_dependencies relation. Observe (via the inline comments in the test case below) that there is an unnecessary/redundant join
The additional join should not be added, since it's an inner join and the "versions"."id" = "dependencies"."version_id" restriction guarantees it does not add any additional filtering
Actual behavior
There is an unused join to "versions" "versions_dependencies"
System configuration
Rails version: 7.1.3.2
Ruby version: 3.3.0
The text was updated successfully, but these errors were encountered:
Steps to reproduce
Have the following set of related models, and use the
reverse_dependencies
relation. Observe (via the inline comments in the test case below) that there is an unnecessary/redundant joinExpected behavior
The additional join should not be added, since it's an inner join and the
"versions"."id" = "dependencies"."version_id"
restriction guarantees it does not add any additional filteringActual behavior
There is an unused join to
"versions" "versions_dependencies"
System configuration
Rails version: 7.1.3.2
Ruby version: 3.3.0
The text was updated successfully, but these errors were encountered: