Fixing ActiveRecord::NoDatabaseError in Rails

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


Posted

in

by

Tags:

Comments

Leave a Reply

%d bloggers like this: