SyntaxFix
Write A Post
Hire A Developer
Questions
If you have an array of activerecord relations and want to merge them all, you can do
array.inject(:merge)