Home > Blockchain >  Does anyone know why my heroku app doesn't access any of the data from my seeds.rb file?
Does anyone know why my heroku app doesn't access any of the data from my seeds.rb file?

Time:07-14

I recently deployed an app to heroku but for some reason the heroku app doesn't access any of the seed data from the seed.rb file but when I run the app locally the data shows up just fine. Would love assistance

CodePudding user response:

Try to run the rails task as follows:

heroku run rails db:seed -a name_of_your_heroku_app

You may need to do heroku login first.

  • Related