PG undefinedtable error relation users does not exist

At first, you shall detach all connections out of database. By default you use the development environment. Then try to reset database with the following: rake db:reset The rake db:reset task will drop the database and set it up again. This is functionally equivalent to rake db:drop db:setup. This is not the same as running … Read more