lib/praxis-mapper/query/base.rb in praxis-mapper-3.4.0 vs lib/praxis-mapper/query/base.rb in praxis-mapper-4.0
- old
+ new
@@ -190,10 +190,10 @@
statistics[:records_loaded] += rows.size
to_records(rows)
end
def to_records(rows)
- rows.collect do |row|
+ rows.collect do |row|
m = model.new(row)
m._query = self
m
end
end