mongodb - is there a command line to create EmbeddedDocument in a rails project -


is there command line create embeddeddocument in rails project

rails generate model mymodelclass filed:string 

from above command line, create document type of class, , call mongodb create mymodelclass collection.

so how if want have embeddeddocument class?? there command line? or have manually create empty file , input text myself?

thanks.


Comments

Popular posts from this blog

javascript - Iterate over array and calculate average values of array-parts -

iphone - Using nested NSDictionary with Picker -

objective c - Newbie question -multiple parameters -