I need to return exactly ten records for use in a view. I have a highly restrictive query I\'d like to use, but I want a less restrictive query in place to fill in the results i
All you need to do is sum the queries:
result1 = Model.where(condition) result2 = Model.where(another_condition) # your final result result = result1 + result2