title: Rake db:seed rake aborted! ActiveRecord::RecordInvalid: Validation failed: Email has already been taken
body: <p>I'm a beginning rails student at OneMonth learning stripe payments. Right now, I'm learning how to create a product table and seed the database. Everything's been smooth so far until I encountered a problem after running rake db: seed</p>
  
  <p><strong>Davids-MBP-2:one_month_stripe_payments DKP$ rake db:seed
  rake aborted!
  ActiveRecord::RecordInvalid: Validation failed: Email has already been taken</strong>
  /Users/DKP/.rvm/gems/ruby-2.3.0@global/gems/activerecord-4.2.5/lib/active_record/validations.rb:79:in <code>raise_record_invalid'
  /Users/DKP/.rvm/gems/ruby-2.3.0@global/gems/activerecord-4.2.5/lib/active_record/validations.rb:43:in</code>save!'
  /Users/DKP/.rvm/gems/ruby-2.3.0@global/gems/activerecord-4.2.5/lib/active_record/attribute_methods/dirty.rb:29:in <code>save!'
  /Users/DKP/.rvm/gems/ruby-2.3.0@global/gems/activerecord-4.2.5/lib/active_record/transactions.rb:291:in</code>block in save!'
  /Users/DKP/.rvm/gems/ruby-2.3.0@global/gems/activerecord-4.2.5/lib/active_record/transactions.rb:351:in <code>block in with_transaction_returning_status'
  /Users/DKP/.rvm/gems/ruby-2.3.0@global/gems/activerecord-4.2.5/lib/active_record/connection_adapters/abstract/database_statements.rb:213:in</code>block in transaction'
  /Users/DKP/.rvm/gems/ruby-2.3.0@global/gems/activerecord-4.2.5/lib/active_record/connection_adapters/abstract/transaction.rb:184:in <code>within_new_transaction'
  /Users/DKP/.rvm/gems/ruby-2.3.0@global/gems/activerecord-4.2.5/lib/active_record/connection_adapters/abstract/database_statements.rb:213:in</code>transaction'
  /Users/DKP/.rvm/gems/ruby-2.3.0@global/gems/activerecord-4.2.5/lib/active_record/transactions.rb:220:in <code>transaction'
  /Users/DKP/.rvm/gems/ruby-2.3.0@global/gems/activerecord-4.2.5/lib/active_record/transactions.rb:348:in</code>with_transaction_returning_status'
  /Users/DKP/.rvm/gems/ruby-2.3.0@global/gems/activerecord-4.2.5/lib/active_record/transactions.rb:291:in <code>save!'
  /Users/DKP/.rvm/gems/ruby-2.3.0@global/gems/activerecord-4.2.5/lib/active_record/persistence.rb:51:in</code>create!'
  /Users/DKP/Desktop/one_month/one_month_stripe_payments/db/seeds.rb:8:in <code>&lt;top (required)&gt;'
  /Users/DKP/.rvm/gems/ruby-2.3.0@global/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:268:in</code>load'
  /Users/DKP/.rvm/gems/ruby-2.3.0@global/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:268:in <code>block in load'
  /Users/DKP/.rvm/gems/ruby-2.3.0@global/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:240:in</code>load_dependency'
  /Users/DKP/.rvm/gems/ruby-2.3.0@global/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:268:in <code>load'
  /Users/DKP/.rvm/gems/ruby-2.3.0@global/gems/railties-4.2.5/lib/rails/engine.rb:547:in</code>load_seed'
  /Users/DKP/.rvm/gems/ruby-2.3.0@global/gems/activerecord-4.2.5/lib/active_record/tasks/database_tasks.rb:250:in <code>load_seed'
  /Users/DKP/.rvm/gems/ruby-2.3.0@global/gems/activerecord-4.2.5/lib/active_record/railties/databases.rake:183:in</code>block (2 levels) in '
  /Users/DKP/.rvm/gems/ruby-2.3.0/bin/ruby_executable_hooks:15:in <code>eval'
  /Users/DKP/.rvm/gems/ruby-2.3.0/bin/ruby_executable_hooks:15:in</code>'
  Tasks: TOP => db:seed
  (See full trace by running task with --trace)</p>
  
  <p>I've tried rake db: reset, then rake:db migrate, then rake db: seed again. But i still have the same error. </p>
  
  <p>Could anyone help me with this problem please? I'm feeling stuck and I'm not sure what to do. </p>
  
  <p>Thanks so much! </p>