GB

Fixing ActiveRecord::NoDatabaseError in Rails

Published on

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