Ruby/Rails - How to write this syntax? - Stack Overflow | Hacker News Reader