mongoid/mongoid — pull request #1439 by jdmorani (2011-11-18 19:51:42+00:00)
Title: the embedded? method does not seem to check properly if the relation is cyclic or not

Even though my relation were set to :cyclic => true, the embedded? method was still returning false, until I figured cyclic was nil because it should have been metadata.cyclic.