Terraforming legacy Rails applications
summary
Shows concrete refactors and tools: Docker + a DIP wrapper for repeatable dev setups, replacing ENV sprawl with named YAML plus Rails credentials, and cutting CI test time by about fourfold using TestProf (batch, profilers, factory fixes and a Factory Linter). Adds runtime guards with Isolator, schema/model checks via database_consistency and database_validations, progressive RuboCop rules (strict + standard), and Git/PR automation with Left Hook and Danger; code and scripts are on GitHub.
AI-written summary · about
chapters (27)
- 0:00Terraforming legacy Rails applications
- 2:22TEAM LEAD
- 3:36TERRAFORMING MARS
- 4:09TERRAFORMING CODE
- 6:24DOCKER FOR DEV
- 11:05OPTIONAL DEPS
- 11:42OPTIONAL SERVICES
- 12:03CONFIGURATION
- 14:24KEEPING CONFIGS
- 15:16RAILS 6 CREDENTIALS
- 16:33TESTS - OXYGEN Developing without tests is like breathing with
- 19:08FASTER TESTS: HIGHLIGHTS
- 20:30SIDEKIQ SHAME
- 21:36FACTORY CASCADE
- 22:22FIXING FLAKY TESTS
- 22:33FIGHTING THE FLAKINESS
- 22:54FACTORY LINTER
- 26:03BRAKEMAN
- 27:21database_consistency
- 28:08database_validations
- 31:06STANDARD
- 31:24SIDE EFFECTS
- 32:16ISOLATOR
- 33:56DEAD GEMS
- 34:58DEAD CODE
- 36:08FACTORY TRACE
- 37:14LEFT HOOK
related talks
57mFuture of Developer Acceleration with Rails
28mRESCUE SQUAD: Rails Edition!
20mWhat were they thinking?
40mContainerizing Rails: Techniques, Pitfalls, & Best Practices
39mDown The Rabbit Hole: An Adventure in Legacy Code
07mLightning Talk: How Docker Can Change Rails Deployments
28mHarry Potter and the Legacy Codebase
56mFireside Chat
