Hi, the change you proposed is incorrect (as you can see from all the failing tests) as it would change implicit join semantics. If you want a LEFT JOIN you should explicitly define it, like you do in your second query. The first query works in your specific case without explicitly joining just because, being on the owning side of the association, we can use the foreign key. |