Dismantling Dystopian Futures with Humane Factories
summary
Claim: make sample data do more than tests by treating factories as shared operational fixtures. Uses FactoryBot linting, attributes_for in seed rake tasks, and a small REST layer via the hanger gem so end-to-end suites (Node + axios) can create realistic personas. Adds persona-driven seeds and an experimental future proofing with loops check that breaks CI when new personas regress features. Promises no analytics but shows concrete tooling, rake tasks, and cross-app endpoints that actually run in dev and staging.
AI-written summary · about
chapters (7)
- 0:00Start
- 5:43Takeaways
- 6:51Factory Bot
- 7:17Active Record Instantiation
- 23:00Why Personas Fail
- 25:07Future Proofing with Loops
- 26:46End-to-End Tests
related talks
39mFunctional Architecture for the Practical Rubyist
39mFunctional Architecture for the Practical Rubyist
44mReal-World Functional Ruby
20mMake it SPECtacular
46mBetter code through boring(er) tests
35mReal-world Functional Ruby
52mStory Driven Development: The Next Generation of Rails Functional Testing
36mData Management with Ruby
