lib/active_house/collectable.rb in active_house-0.1.2 vs lib/active_house/collectable.rb in active_house-0.1.3

- old
+ new

@@ -25,9 +25,9 @@ @collection ||= fetch_collection end def fetch_collection result = connection.select_rows(to_query.squish) - result.map { |row| model_class.new(row) } + result.map { |row| model_class.load!(row) } end end end