How do embed a record inside another record?
<p>I am working through the mongoid documentation, i am trying to figure out how to create a new manager embedded inside a new user</p>

<pre><code>class User
  include Mongoid::Document
  field :first_name, type: String
  field :last_name, type: String
  embeds_one :manager, class_name: "Manager"
end

class Manager
  include Mongoid::Document
  field :first_name, type: String
  field :last_name, type: String
  embedded_in :users, class_name: "User"
end

## ------------------------------------------------------------

User.create!(
  first_name: "First1"
  last_name: "Last1"
)
</code></pre>

<p>but how do I create a new manager since its embedded?</p>