This article is about gotchas you should be aware of while building your API with Ruby on Rails. Controller tricks: API on MetalSooner or later each Rails developer come to a point when he wants to build his first API. Among the first things you have to take care of are your controllers. If you want your API to be fast (and I bet you do) then you should consider using ActionController::Metal. The