2 patterns for refactoring with your ruby application | Hacker News Reader