Some tips when writing an API in Ruby on Rails | Hacker News Reader