Open bughit opened 8 years ago
looks like #4 enables this, do you plan on merging it?
@brianhempel, what do you think of #4?
Flatness would be great, but it's not easily supported by AREL right now so until that's improved it's going to be hacktastic to get it to work reliably in this gem.
See also discussion on #4 .
Nested
Flat
Flat chaining strikes me as potentially less problematic at least for some engines than deep nesting. Is it possible to achieve that in the current version? Would it make sense to add this?
Something like:
Relation.union(user_1.posts, user_2.posts, Post.published)