lib/voteable_mongo/tasks.rb in voteable_mongo-0.9.1 vs lib/voteable_mongo/tasks.rb in voteable_mongo-0.9.2

- old
+ new

@@ -143,10 +143,10 @@ parent_ids = parent_id.is_a?(Array) ? parent_id : [ parent_id ] parent_class.collection.update( { '_id' => { '$in' => parent_ids } }, { '$inc' => inc_options }, - { :safe => true } + { :safe => true, :multi => true } ) end end private_class_method :migrate_old_votes_for, \ No newline at end of file