Hanami 2: New Framework, New You
summary
Hanami 2.0 is out and it shows concrete choices not slogans: a demo app is generated, an action handles HTTP with request and response objects, a repo pattern uses ROM for persistence returning plain value objects, components live in a container and are injected via the deps mixin, providers register configured clients, and slices for modularity create isolated namespaces. The release is published on rubygems and the dev experience includes fast console boot and standard test styles so the examples actually run.
AI-written summary · about
chapters (9)
- 0:00Start
- 8:48Container & components
- 11:07Testing
- 13:02Settings
- 14:10Providers
- 15:15Slices
- 15:59$ hanami generate slice admin
- 20:24Persistence
- 26:51Grow your Ruby







