5
A common refactoring in object-oriented programming is to take a complex method or set of methods and extract a new class from them. These classes …
3
2
An object-oriented enum pattern for Ruby and Rails with literal-style definition syntax.
1
And why the Sandi Metz quote is so often misapplied.
1
Define Rails model scopes and predicates with the same code.
1
It’s not always a terrible idea.
1