My first dive into creating a rest API with rails. Ref: http://apionrails.icalialabs.com/book/