ruby - How to push seeds.rb to existing rails app (on Heroku)? -


i store app's data in seeds.rb locally. however, after pushing heroku, app works well, without data. not want re-input mass data again, have ways me?

if push app heroku, can seed database following command.

heroku run rake db:seed 

Comments

Popular posts from this blog

mysql - java.sql.SQLException Parameter index out of range (1 > number of parameters, which is 0) -

c - ALSA programming: how to stop immediately -