ruby on rails - seeding a seed.js & seed.sql files in rails4(using both SQL & Mongoid databases) -


i have seed.js file , seed.sql file seed data in /db/ folder need seed rails project.

i have 2 models running on sql , 2 others on mongoid. how can seed both of these file formats respective models? seems rails rake db:seed command loads seed.rb file. haven't useful information on this.

thanks!


Comments

Popular posts from this blog

shopping cart - Page redirect not working PHP -

php - How to modify a menu to show sub-menus -

python - Installing PyDev in eclipse is failed -