Enterprise Ruby - Let’s Talk Business!
summary
Argues that structuring business logic as one-function service objects reduces controller bloat and speeds testing, demonstrates Trailblazer operations with a functional railway (success/failure) pattern to remove if/else flow code, and shows BPMN-style workflows used on a German police project to replace thousands of lines of state checks. Builds a workflow engine and a private workflow gem that supports long running processes, event suspension, nesting, visual tracing with full context, and claims a 60–70% reduction in control‑flow code while keeping fast unit tests.
AI-written summary · about
chapters (6)
- 0:00Introduction
- 3:57Service objects in Ruby
- 12:26Railway-oriented programming
- 20:12BPMN and workflows
- 37:30Trailblazer 2.1 features
- 43:10Q&A








