ruby on rails - Mongoid with Machinist -


I am using mechanism and mangoids How can I create a blueprint for the embeds_many association. Mongoid embeds_many embeds the hash of the association array so I just started this way:

 User Blueprint address address {: address1 => "address",: address2 => 'next address'} end 

Any ideas?

I tried and worked like this

  user Blueprint do addresses {address.make} expiration  

Comments