Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

blueprint for mongoid embeds_many association #41

Closed
krishna-shilpakar opened this issue Jul 16, 2010 · 1 comment
Closed

blueprint for mongoid embeds_many association #41

krishna-shilpakar opened this issue Jul 16, 2010 · 1 comment

Comments

@krishna-shilpakar
Copy link

I am using machinist and mongoid. How can I generate blueprint for embeds_many association. Mongoid embeds_many association embeds the hash of array. So I just started like this:

 User.blueprint do
   address { :address1 => "address", :address2 => 'next address'}
 end

Is this right way of defining? I don't feel good in this way.

@notahat
Copy link
Owner

notahat commented Jul 16, 2010

You should take this to the mailing list.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants