← Graph

Can we teach the community not to shoot themselves with factories?

question 2 connections

Audience member asks whether the community should improve documentation (e.g. FactoryBot README) to explain the consequences of defining factory associations, and offers to open a PR. Hasiński agrees: Rails once offered amazing developer experience, but as projects grow we stop caring about it. Improving library-level docs and junior materials (e.g. migrations) is a community responsibility.

answer_summary
Yes — library-level docs and junior-developer materials badly need explicit warnings about Factory Cascades and similar anti-patterns.
question Can we teach the community not to shoot themselves with factories?
about
FactoryBot tool
Proposes improving FactoryBot documentation to warn about associations.
question Can we teach the community not to shoot themselves with factories?
asked_at
Asked during the talk's Q&A.

Provenance

Read by
1 extraction