RailsCasts Pro episodes are now free!

Learn more or hide this

Applied Filters: Pro Episodes 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)
Action Controller Walkthrough
Episode #395Dec 02, 201277 comments

Action Controller Walkthrough

Do you ever wonder what goes on behind the scenes when a Rails controller handles a request? What do the "render" and "redirect_to" methods do exactly? This and more covered as we walk through the code of ActionController::Base. (11 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)
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)
Rack App from Scratch
Episode #317Jan 16, 201242 comments

Rack App from Scratch

Rack comes with many helpful utilities such as request and response objects, various middleware, and MockRequest for testing. Here I cover all of these while building a Rack app from scratch. (15 minutes)
Authentication with Warden
Episode #305Dec 05, 201144 comments

Authentication with Warden

Warden makes it easy to move authentication up into Rack middleware. This means authentication can be accessed outside of a Rails controller such as in routes or in a mountable engine. (12 minutes)