RBS and Steep: Typing a Rails Monolith
summary
Describes adopting static typing in a large Rails monolith by introducing RBS type signatures and the Steep typechecker, including RBS collections and RBS-rails integration. Explains how type checking can improve a Rails project and outlines practical problems encountered when adding RBS/Steep to an existing Rails codebase.
AI-written summary · about
chapters (20)
- 0:00Introduction
- 1:07Project context
- 3:59Legacy tool problems
- 5:27What is RBS
- 7:13RBS and Steep basics
- 9:21Fixing NoMethodError
- 10:53RBS Rails generator
- 11:35RBS Collection
- 12:57RBS in Rails
- 15:28GitLab CI for type checks
- 16:53RBS problems
- 17:54Metaprogramming in RBS
- 19:19Static typing advantages
- 20:46RBS future
- 22:30Adoption plan
- 24:36Industry trends
- 26:19Q&A
- 37:50Alternatives to RBS
- 42:06RBS vs Sorbet
- 44:11Final Q&A
