Hi Chen,
I am creating user in the following manner..
user.my_relations.create \
:target => target, ....(other
properties)
end
The schema is somewhat like this User has embedded document (array) of
relations, and each relation has attributes and reference to a target
which is another user in db. I think with the new release perhaps it
may not be possible to create a has_one , belongs_to relationship on
the same collection, which is currently the case in my scenario.