Grouping data by various properties is easy in Ruby, and there are more uses for it than you might think...
Quick, easy, minimal immutable Value Objects in Ruby
Intention-revealing array combinations in Ruby.
How to reliably normalize inputs into arrays in Ruby
Today we learn about why it pays to be judicious in application of the Ruby "safe navigation" operator.
In this series conclusion, we learn some lessons about trampolines and self-saving domain models.
This page is just for members. Sign in or subscribe to gain access! Username Password Remember Me Forgot Password
Continuing in our series, we examine three more problem scenarios with self-saving objects.
The start of a series answering the question: why shouldn't a domain model object save itself?
In this episode, we address the Primitive Obsession code smell with a lesser-known design pattern.