jeudi 7 janvier 2016

I am absolute new to Ruby on rails and was running the following command $rails generate devise user

I expected the file _devise_create_users.rb to be generated . However its generating the file _add_devise_to_users.rb. So when i run the command rake db:migrate after this, it gives me an error , SQLite3::SQLException: no such table: users: ALTER TABLE "users" ADD "email" varchar DEFAULT '' NOT NULL. since there is no user table created.

Any headways suggested ?

Aucun commentaire:

Enregistrer un commentaire