rails g factory_girl:model Post title:string body:text

This is great for retroactively generating factories for models that existed before you started using factory_girl.

Comments