lib/friendly/indexer.rb in friendly-0.5.0 vs lib/friendly/indexer.rb in friendly-0.5.1

- old
+ new

@@ -20,11 +20,11 @@ @datastore = datastore @translator = translator end def populate(klass, index) + count = 0 loop do - count = 0 rows = datastore.all(klass, Query.new(:offset! => count, :limit! => objects_per_iteration, :order! => :added_id.asc)) rows.each do |attrs| begin