ruby on rails - Embedded object saves without error, but does not show in mongo. How can this be? -


I have:

embedded tree . (Tree = t). Savings

which gives correct returns and B.I.D. Gives a long BSID

Then I do:

   

How can this be?

Also,

I delete it

Embeds_one, embedded_in relates and relieves it all by fixing it.

What's going on?

You can not do this If you have to create an object from the tree, then you have created a tree object There should be code by creating an object from the branch through:

  t = tree.first || Tree.Scent B = T. Branch Create  

Comments

Popular posts from this blog

eclipse plugin - Run java code error: Workspace is closed -

ios - How do I use CFArrayRef in Swift? -

scala - Play Framework - how to bind form to a session field -