lib/journey/resource/where_multiple.rb in embark-journey-0.0.29 vs lib/journey/resource/where_multiple.rb in embark-journey-0.1.0
- old
+ new
@@ -19,10 +19,10 @@
branch_query = consistent_query.merge(branch_key => value)
where_multiple(clauses.merge(query: branch_query))
end.map(&:to_a).sum
else
- where(clauses)
+ where(clauses.merge(query: query))
end
end
end
end