RailsCasts Pro episodes are now free!

Learn more or hide this

The Rails API Gem

#348 The Rails API Gem

May 09, 2012 | 9 minutes | Controllers, Plugins, Rack, APIs
It is often asked: Is Rails a good fit if I only need to serve an API? In this episode I show how to use the Rails API gem to create a slimmer Rails application designed to respond with JSON.
  • Download:
  • source codeProject Files in Zip (32 KB)
  • mp4Full Size H.264 Video (27.2 MB)
  • m4vSmaller H.264 Video (13.9 MB)
  • webmFull Size VP8 Video (13.7 MB)
  • ogvFull Size Theora Video (33.5 MB)