Rails + Factory_Girl - Create Factory Command for Models
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
.
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
.