--
You received this message because you are subscribed to the Google Groups "mongodb-dev" group.
To post to this group, send email to mongo...@googlegroups.com.
To unsubscribe from this group, send email to mongodb-dev...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/mongodb-dev?hl=en.
There are a couple solutions to this:
1. Always use either symbols xor strings as hash keys.
2. Use HashWithIndifferentAccess. I believe that this is what MongoMapper does.
We could check for these kinds of duplicates on the driver level, but
it would introduce overhead.
Kyle