Learn two ways to avoid switching on nil in Rails apps, in this double feature from RubyTapas and Upcase
Conquer conditionals with the Chain of Responsibility
Cleanly and easily add undo-ability, with the Command Pattern.
Kicking off 2017 with a very special guest series on Design Patterns!
This page is just for members. Sign in or subscribe to gain access! Username Password Remember Me Forgot Password
How do we name a class when we're not sure how broad a category it represents?
Some domain concepts are easier to spot than others. Today we deal with one of most slippery concepts of all.
Having model attributes at different levels of abstraction can quickly complicate an application. In this episode, we'll level the playing field.
In this sequel to #430, we apply a powerful pattern for encapsulating problem values.
In which we examine some of the pitfalls of handling badly-formed user input for Whole Value fields.