A
A
Alexander2014-05-17 22:07:15
Ruby on Rails
Alexander, 2014-05-17 22:07:15

Devise throws an error during registration, what could be the problem?

358dddc1f58a4f6abff29ae5f814eaee.png
Did "rake db:migrate:reset" once because of wrong migration. I tried to reinstall the gem, but the result is the same, everything was fine before the error with the database.
What can I do, please tell me :)

Answer the question

In order to leave comments, you need to log in

2 answer(s)
K
Kirill Platonov, 2014-05-17
@kirillplatonov

is bcrypt worth it?
try
rake db:drop; rake db:create; rake db:migrate

M
Marat Amerov, 2014-05-18
@amerov

show model code and schema.rb .
try deleting schema.rb and re-run the migrations.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question