lib/journey/resource/batch_where.rb in embark-journey-0.1.3 vs lib/journey/resource/batch_where.rb in embark-journey-0.1.4

- old
+ new

@@ -5,10 +5,10 @@ included do def self.batch_where(clauses, batch_size=100) - total_count = count(clauses) + total_count = count_multiple(clauses) query_count = (total_count / batch_size.to_f).ceil.to_i (0 ... query_count).to_a.map do |batch_index| where_multiple clauses.merge({