lib/mongoid/report/collection.rb in mongoid-report-0.1.2 vs lib/mongoid/report/collection.rb in mongoid-report-0.1.3
- old
+ new
@@ -17,10 +17,10 @@
@fields.each do |field|
summary[field] += row[field.to_s]
end
summary
- end
+ end.with_indifferent_access
end
private
def compile_dynamic_fields(columns)