If you have an existing Rails app and just getting started with factory_bot, you can use this to generate factories for all existing models.
>= 2.3.0
Alessio Fanelli