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?
In this long-requested episode, guest chef Justin Weiss returns to teach you how to integrate the Whole Value pattern into Rails applications.
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 …
Do you really need that web framework?
Calculating dates in the past or future, without the assistance of ActiveSupport.
Today we'll follow up on episode #372, and introduce some more object pretty-printing capabilities from the awesome_print gem.
Today we revisit episode 21, and try out several different takes on registering observer callbacks inline.
In this episode we take a look at a common problem in Rails development: slimming down a controller whose functionality can't easily be pushed down into models. We address the …