I’m sad

Error when trying to populate database with sample microposts

From section 11.2.2 Sample Posts

After updating the sample_data.rake file to include sample microposts, I run "rake db:populate" and get this error response:

rake aborted!
Validation failed: Email has already been taken

Do I need to somehow clear my sample database before trying to populate it with sample microposts?
1 person has
this question
+1
Reply