RailsCasts Pro episodes are now free!

Learn more or hide this

Applied Filters: json 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)
Handling Exceptions (revised)
Episode #53Apr 20, 2013209 comments

Handling Exceptions (revised)

By default, Rails will render a static error file when an exception occurs in production. Here you will learn how to fully customize this behavior and render dynamic error pages. (11 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)
Offline Apps Part 2
Episode #248Jan 10, 201137 comments

Offline Apps Part 2

Learn how to make a site usable offline with HTML 5 localStorage. This last part of the series covers jquery-tmpl and jquery-offline. (14 minutes)