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

winapi - How to get a user input on a MessageBox on C++? -

parcelable - Unmarshalling unknown type code exception while reading parcel values in Android 4.4+ -