RailsCasts Pro episodes are now free!

Learn more or hide this

Applied Filters: api xRack x
Batch API Requests
Episode #414Apr 27, 2013215 comments

Batch API Requests

Here I demonstrate how to perform bulk API operations though a single request using Rack middleware. This is great if you need to trigger multiple actions at once such as if the user goes offline. (18 minutes)
The Rails API Gem
Episode #348May 09, 201274 comments

The Rails API Gem

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. (9 minutes)
Rails Middleware Walkthrough
Episode #319Jan 23, 2012117 comments

Rails Middleware Walkthrough

Here I describe each Rack middleware that is included in a Rails app which will give you a better understanding of what a request goes through behind the scenes before it hits your application. (14 minutes)
Rails Modularity
Episode #349May 09, 201255 comments

Rails Modularity

Rails is a modular framework allowing you to include only what you need. Here I show how the smallest Rails app works, and then I take a look at how to whittle down a full Rails application stack. (13 minutes)