Today I was trying to figure out how to create a factory girl model, with a has_many relationship. Turns out, this is not exactly straight-forward, and you need to
You should look at the (excellent) example provided in the Getting Started document on the Factory Girl wiki.