brianhempel / active_record_union

UNIONs in ActiveRecord! Adds proper union and union_all methods to ActiveRecord::Relation.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Interested in supporting intersect and except?

iamtheschmitzer opened this issue · comments

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

commented

I've vote for that!

@iamtheschmitzer Is your version open sourced somewhere?

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.