brianhempel / active_record_union

UNIONs in ActiveRecord! Adds proper union and union_all methods to ActiveRecord::Relation.
Other
423 stars 41 forks source link

Interested in supporting intersect and except? #21

Open iamtheschmitzer opened 5 years ago

iamtheschmitzer commented 5 years ago

We have added support for intersect and except locally, was curious if you'd welcome a PR for that, since it expands the scope of the gem beyond union

scarroll32 commented 5 years ago

I've vote for that!

carlesjove commented 5 years ago

@iamtheschmitzer Is your version open sourced somewhere?

prem-prakash commented 5 years ago

https://github.com/brianhempel/active_record_union/pull/24

Riveascore commented 7 months ago

This is a great addition, I'm sad that this didn't get approved.

This gem is the only one that handles union between different objects. ActiveRecord extended is great, but doesn't handle the above.