Комментарии:
Thank you so much :)
ОтветитьHow do you handle a situation where you have a model with a very deep belongs_to association tree. In my case, the tree is 12 level deep and if I dont provide the belongs_to associated model in the factory, I get the ActiveRecord::RecordInvalid: Validation failed: XXXX must exist.
ОтветитьThank you for content 🎉
Ответитьcan you do a video about has_and_belongs_to_many
in factorybot?
Wow CJ. Thank you so much for this series! Rails doesn't get enough love and your content is truly a pillar for me. Thank you!
ОтветитьWell explained, super helpful. Thankyou!
ОтветитьClear understanding on the factory bot. Thank you
Can you create how the traits, associations work with it with the next episode. Waiting for the next demo.
Excellent video ... A question.. how can I create a hash with factory...with traits to add additional attributes to principal factory hash..is that possible?
Ответить