More rstat.us refactoring

from blog Steve Klabnik, | ↗ original
Sep 23 2011 Hey everyone! I just wanted to share One More Thing with you about this rstat.us refactoring. The main thrust of the last article I posted was to show you a technique for extracting a class, getting it under some kind of test, and then refactoring it a bit. Refactoring is always an iterative process, and Ryan Bates from the always awesome Railscasts asked me why I made the Salmon class into a module,...