title: How to create a list of factories with one value incremented
body: <p>I am using <code>factory_girl_rails</code> together with <code>RSpec</code>.</p>
  
  <p>I want x <code>Placement</code> created and inserted into a array with one of the attributes incrementing its value. </p>
  
  <p>I have a version that is working, but I would like to make use of factory girl as much as possible.</p>
  
  <p>My working solution </p>
  
  <pre><code>def create_placements(x)
    x.times.map { |i| create :placement, foo: i }
  end
  </code></pre>
  
  <p>Can it be achieved with factory girl only? Something like <code>create_list :placement, x, foo: 1..x</code> ?</p>