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

actionscript 3 - TweenLite does not work with object -

php - How can I edit my code to echo the data of child's element where my search term was found in, in XMLReader? -

c# - Global Variables vs. ASP.NET Session State -