Rails Engines Are the Best-Kept Secret
summary
Argues that Rails engines are the missing piece between painful monoliths and unnecessary microservices, showing patterns that enforce boundaries, independent gem deps, and a public API so changes don’t cascade; extracts let modules be read in ~20 files and teams work in parallel. Demonstrates real builds: 440+ star Active Storage Dashboard and ActiveCanvas CMS that edits pages without redeploy, follows a zero-dependency philosophy, and warns against engines for tiny apps or tightly coupled ActiveRecord joins.
AI-written summary · about
chapters (10)
- 0:00Introduction and speaker background
- 1:18Why engines are underused today
- 2:38Architecture and human time costs
- 5:39What is a Rails engine?
- 7:39Benefits of modularizing with engines
- 10:38Team organization with engines
- 11:54Engines in the Rails ecosystem
- 12:42When not to use engines
- 13:39How to start using engines
- 14:57Open source engine projects demo
