Using FactoryGirl to easily create complex data sets in Rails Posted in Code, Inside TFG, Ruby on Rails I use FactoryGirl for setting up data in my application. FactoryGirl gives you all the tools you need to quickly and easily create data for models in your application. Leveraging ffaker you can make realistic looking, randomized data. Often, you will have complex associations between objects in
{{#tags}}- {{label}}
{{/tags}}