In this tutorial, I cover three different ways of building an API with Ruby on Rails - a new API-only app, an API inside a normal Rails app and converting a Rails app to an API.