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

linux - Using a Cron Job to check if my mod_wsgi / apache server is running and restart -

actionscript 3 - TweenLite does not work with object -

jQuery Ajax Render Fragments OR Whole Page -