Ben D Ben D - 6 months ago 42
Ruby Question

ActiveRecord::PendingMigrationError?

I can't find a solution for this but here is a screenshot of the error.



This is what the error looks like when I go to the page localhost:3000

Answer

Stop your server at the command line, and run this:

bundle exec rake db:migrate

Looks like you've written a migration, but haven't migrated your database yet.