title: How to create/build multiple instances of a factory in Factory Girl?
body: <p>How do I create multiple records or multiple factories of the same class?</p>
  
  <p>I tried:</p>
  
  <pre><code>Factory.define :user do |user|
    user.email "someuser@somesite.com"
    user.password "somepassword"
  
    user.email "another_existing_user@somesite.com"
    user.password "somepassword"
  end
  </code></pre>
  
  <p>and</p>
  
  <pre><code>Factory.define :user do |user|
    user.email "someuser@somesite.com"
    user.password "somepassword"
  end
  
  Factory.define :user do |user|
    user.email "another_existing_user@somesite.com"
    user.password "somepassword"
  end
  </code></pre>
  
  <p>But it doesn't work -- <code>Attribute already defined: email</code>.</p>