If you've done much Rails coding, you've probably heard the guideline: “skinny controller, fat model”. But achieving this can be easier said than done. Especially when your controllers are bloated with …
Learn how to model a system where an object may only exist in one collection at a time.
When is a Value Object not a Value Object?
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.