title: FactoryGirl create_list pass in multiple values
body: <p>If I have this factory: </p>
  
  <pre><code>factory :product, class: Product do
    name        { Faker::Commerce.product_name }
    description { Faker::Lorem.paragraph }
    price       { Faker::Number.number(3) }
  end
  </code></pre>
  
  <p>I can use <code>create_list</code> to create 2 products like this: </p>
  
  <pre><code>FactoryGirl.create_list(:product, 2)
  </code></pre>
  
  <p>but I want to pass in defaults to both my products, I would suppose something theoretically like this?:</p>
  
  <pre><code>prods = [{:name =&gt; "Product 1"},{:name =&gt; "Product 2"}]
  FactoryGirl.create_list(:product, prods.count, prods)
  </code></pre>
  
  <p>I have searched for a while and cannot find the answer to this, is it possible using an elegant solution like <code>create_list</code>? </p>
  
  <p>The reason I would like this solution is because <code>:product</code> is one of many child associations to a parent model. I would like a configurable way that I could generate the parent model factory through a single <code>FactoryGirl.create</code> command and pass in all the values I would like for child associations (through the use of FactoryGirl's traits and ignore blocks). I hope that makes sense. I could show a bunch of code here but I believe this provides enough context? </p>