Some tips when writing an API in Ruby on Rails · HackerTrans