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
Post a Comment