factory_bot and factory_bot_rails release candidates were released this week thanks to Joe and Josh. The big change is some great-looking new syntax. Check it out: Old: Factory.sequence :email do |n| "email#{n}@example.com" end Factory.define :user do |factory| factory.name { 'Ron Burgundy' } factory.email { Factory.next(:email) } end Factory.define :admin, parent: :user do |factory| factory.admin
![New Factory Bot Definition Syntax](https://cdn-ak-scissors.b.st-hatena.com/image/square/beac31a4be8e4962e2fefc94fd70b667eb3e9cec/height=288;version=1;width=512/https%3A%2F%2Fimages.thoughtbot.com%2Fblog-images%2Fsocial-share-default.png)