A New Ruby Toolbox
summary
Shows how a real Ruby stack is built from small gems: dry-web-rod(a) routing, dry-view view controllers, dry-system dependency injection, ROM persistence with repositories and rom-sql, plus dry-validation, dry-monads and dry-transaction. Operations are written with one public call that returns Right/Left monads so routes can match success or failure uniformly. Claims shipped over 10 apps including a large Australian e‑commerce site; demos repository commands, validation schemas, and a multi-step transaction that composes operations.
AI-written summary · about
chapters (12)
- 0:00Introduction
- 1:05Problem with Rails apps
- 3:13Dry web rotor framework
- 5:27Dry system dependency injection
- 7:56ROM repositories and persistence
- 11:17Handling POST requests
- 13:29Using monads for operations
- 15:19Dry validation for input
- 17:37CRUD operations in ROM
- 20:10Building complex transactions
- 23:25Benefits of this approach
- 26:20How to get started
related talks
28mNext Generation Ruby Web Appswith dry-rb, ROM, and Roda
40mReinvesting in Ruby
44mReal-World Functional Ruby
35mReal-world Functional Ruby
01h 01mCan We Still Innovate?
39mFunctional Architecture for the Practical Rubyist
50mWhat I Talk About When I Talk About Ruby
30mService Objects With Dry.rb: Monads and Transactions
