FactoryGirl create_list pass in multiple values
You can generate the list yourself:
data = [{:name => "Product 1"},{:name => "Product 2"}]
products = data.map { |p| FactoryGirl.create(:product, p) }
Which should leave you with an array of products.
Since v5.2.0 you can do this:
twenty_somethings = create_list(:user, 10) do |user, i|
user.date_of_birth = (20 + i).years.ago
end