As interview techniques go, whiteboard problems and greenfield apps aren't a very good test of the kinds of skills a developer needs day to day. Join Nicholas Means to learn …
An optimization for your Ruby refactoring sessions. This page is just for members. Sign in or subscribe to gain access! Username Password Remember Me Forgot Password
Is there such a thing as a method that is too small? Is it worth it to extract a method just to satisfy a guideline like the Law of Demeter?
Learn a concise way to treat a module as an object in Ruby.
Learn how to break a dependency on a pervasive mixin.
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 …
When refactoring Ruby code, getting a fresh perspective on the data model can help drive out a cleaner design.
In which we examine some of the pitfalls of handling badly-formed user input for Whole Value fields.
In this episode, guest chef Sam Livingston-Gray shows us how getting a new view on our data model can drive out a cleaner design.
Today, in part 1 of 2, we explore the implications of a common code smell.