We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I suppose it's not a bug, but maybe someone has found a workaround.
I have 6 objects initialised with 6 total different queries and I want to chain unions.
obj1.union(obj2).union(obj3) and so on
Each one can be nil, and I want to union all the results. There is no default (otherwise I could use default_obj.union(obj1) and so on).
Any ideas?
The text was updated successfully, but these errors were encountered:
[query1, query2, query3, query4, query5, query6].compact.reduce(:union)
Sorry, something went wrong.
No branches or pull requests
I suppose it's not a bug, but maybe someone has found a workaround.
I have 6 objects initialised with 6 total different queries and I want to chain unions.
obj1.union(obj2).union(obj3) and so on
Each one can be nil, and I want to union all the results. There is no default (otherwise I could use default_obj.union(obj1) and so on).
Any ideas?
The text was updated successfully, but these errors were encountered: