thoughtbot/factory_girl — pull request #445 by bbugh (2012-10-19 19:05:13+00:00)
Title: Modified define_list_strategy_method to accept and use a block.

A small change to ```create_list``` and ```build_list``` (and any future ```*_list``` methods) to accept a block, like ```create``` and ```build``` do already.

I can write code like this:

```ruby
@tag = FactoryGirl.create(:tag) do |tag|
tag.tag_types = Array.wrap(@tag_type)
end
```
I should be able to write code like this:

```ruby
@tags = FactoryGirl.create_list(:tag, 3) do |tag|
tag.tag_types = Array.wrap(@tag_type)
end
```