What is the purpose of a `transient do` block in FactoryBot factories?
transient attributes allow you to pass in data that isn’t an attribute on the model. Say you have a model called car with the following attributes: name purchase_price model You want to capitalize the name of the car when you create the car model in the factory. What we can do is: factory :car do … Read more