Permalink
Browse files

no need to typecast here, as it happens in the load anyway

  • Loading branch information...
Wesley Beary
Wesley Beary committed Jul 17, 2008
1 parent 4f69b89 commit 3d4391f8f2a7fb07f4ccc458d6f20de310d547df
Showing with 1 addition and 1 deletion.
  1. +1 −1 adapters/dm-couchdb-adapter/lib/couchdb_adapter.rb
@@ -119,7 +119,7 @@ def read_many(query)
doc['rows'].each do |doc|
collection.load(
query.fields.map do |property|
- property.typecast(doc["value"][property.field.to_s])
+ doc["value"][property.field.to_s]
end
)
end

0 comments on commit 3d4391f

Please sign in to comment.