lib/praxis-mapper/resource.rb in praxis-mapper-3.2 vs lib/praxis-mapper/resource.rb in praxis-mapper-3.3

- old
+ new

@@ -140,10 +140,10 @@ def self.wrap(records) case records when nil return [] when Enumerable - return records.collect { |record| self.for_record(record) } + return records.compact.collect { |record| self.for_record(record) } else return self.for_record(records) end end