LoginSignup
0
0

More than 3 years have passed since last update.

ActiveRecord::RecordInvalid:Validation failed: Account has already been taken

Posted at

エラーの内容

既にAccountというデータがあるから、ダメだよ。バリデーションで問題が起きてますよという内容

解決策

rake db:migrate:reset

これでテーブルの内容の削除とshemaからの再作成ができるので解消できました。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0