Commit Graph

1 Commits

Author SHA1 Message Date
David Rodríguez a6f91a464c
Fix issue with self joins and includes (#1275)
Our polyamorous monkeypatches were doing too much. Removing our custom
equality and letting ActiveRecord figure it out seems to do the trick
and fix this.

On some Rails & DB adapters this seems to break a polyamorous spec.
However, this spec just tests an implementation detail but it's unclear
whether the spec breaking has any actual bad side effect in real like,
so I removed it.
2022-03-07 13:14:11 +01:00