How to tackle boilerplate coding in Rails | Hacker News Reader