mongoid/mongoid — pull request #2509 by DouweM (2012-10-29 02:25:28+00:00)
Title: Fix #from_map_or_db when used with a selector instead of an id.

I ran into this bug when I eagerly loaded a `has_one` relation and then read the relation.