I appear to have a circular issue in regards to Ruby on Rails migration procedure. I am following the introduction article and I have reached the point when I need to creat
It may happened because you've added new columns to a table with old data that is now missing values. I've had the same problem with my test database and fixed it just by running
$ rails db:setup
CAUTION
It deletes all of the data. This command runs rails db:reset, rails db:migrate and rails db:seed