I think it would be cleaner to use a post_generation function in the factory to save comments and threads (assuming you can put children in the factories)