Commit Graph

12 Commits

Author SHA1 Message Date
David Rodríguez e1ddee7477
Drop Rails 6.0 support 2022-05-06 09:30:44 +02:00
David Rodríguez 9b683d6d01
Remove strange comments at the top of two files 2022-03-07 14:03:54 +01:00
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
David Rodríguez a8ae1ce26b
Catch up with rails/rails@999bf3d097 2020-11-24 11:02:33 +01:00
David Rodríguez 46212f1212
Catch up with rails/rails@62de28fbcd 2020-11-24 11:02:33 +01:00
David Rodríguez a84fdbfa0b
Make our method more similar to the one being mimic'ed
Also to catch up with rails/rails@10b36e81a3.
2020-11-24 11:02:33 +01:00
David Rodríguez 3a2b63e535
Catch up with rails/rails@10b36e81a3 2020-11-24 11:02:33 +01:00
David Rodríguez 0337045444
Catch up with rails/rails@43b83955a2 2020-11-24 11:02:32 +01:00
David Rodríguez 8103660c27
Catch up with rails/rails@590b045ee2 2020-11-24 11:02:31 +01:00
David Rodríguez cbe52b1627
No need to patch `make_constraints`, apparently
This method changes a lot in Rails 6.1. If we can rely on Rails
version, everything is easier.
2020-11-24 10:10:43 +01:00
David Rodríguez e1be118369
Copy previous patches for easier modification 2020-11-24 10:10:07 +01:00
Shadab Malik bc13ccbdf1 Move polyamorous from gem to a module. 2020-04-02 20:13:33 -04:00