Giustino Borzacchiello

Fixing ActiveRecord::NoDatabaseError in Rails

2016-09-01

If you get this error:

rails aborted!
ActiveRecord::NoDatabaseError: FATAL:  database "students_development" does not exist

while trying to run rails db:migrate or create a scaffold, remember to run:

$ rails db:create

before going on