Dennis Denicio wants to give this talk

Embracing Clarity and Flexibility with dry-rb

Abstract

dry-rb is a powerful set of Ruby libraries designed to promote code clarity, immutability, and maintainability—without compromising on flexibility. In this talk, I’ll introduce three core components of the dry-rb ecosystem: dry-struct, dry-validation, and dry-transaction. Together, they enable a clean, explicit approach to data modeling, validation, and business logic orchestration.

We'll explore:

  • How to use dry-struct for typed value objects and safer data handling
  • Validating input and domain data with dry-validation
  • Structuring business logic into composable steps with dry-transaction

I’ll walk through practical examples from real-world Ruby applications and demonstrate how these tools can replace tangled service classes and model callbacks with something more explicit, testable, and intention-revealing.

Target Audience

Rubyists of all levels who are curious about alternatives to Rails conventions or interested in writing more maintainable, modular business logic.

2 People like it