RailsCasts Pro episodes are now free!

Learn more or hide this

Applied Filters: walkthrough x
Action View Walkthrough
Episode #397 – Dec 09, 2012 – 75 comments

Action View Walkthrough

Find out exactly what Rails is doing under the hood when it renders a view template for a response. What object context handles the template? How does the lookup process work? That and more covered in this code walkthrough. (15 minutes)
Action Controller Walkthrough
Episode #395 – Dec 02, 2012 – 77 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 Middleware Walkthrough
Episode #319 – Jan 23, 2012 – 117 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)
Batch API Requests
Episode #414 – Apr 27, 2013 – 215 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)
Rails Initialization Walkthrough
Episode #299 – Nov 14, 2011 – 30 comments

Rails Initialization Walkthrough

In this episode I walk you through the internals of the Rails initialization process and show exactly what happens behind the scenes when starting up the Rails application. (13 minutes)
Routing Walkthrough Part 2
Episode #232 – Sep 19, 2010 – 37 comments

Routing Walkthrough Part 2

In this episode we continue our look into the Rails 3 router by exploring the Mapper class. (13 minutes)
Routing Walkthrough Part 1
Episode #231 – Sep 13, 2010 – 64 comments

Routing Walkthrough Part 1

How does routing work internally in Rails 3? In this episode I'll walk you through the Rails code that makes routing possible. (13 minutes)
ActiveRecord::Relation Walkthrough
Episode #239 – Nov 07, 2010 – 42 comments

ActiveRecord::Relation Walkthrough

The new Active Record query methods in Rails 3 might seem like magic at first. But in this episode I unravel how it works by browsing the Rails 3 source code. (11 minutes)
The Rails API Gem
Episode #348 – May 09, 2012 – 74 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)
Asset Pipeline in Production
Episode #341 – Apr 11, 2012 – 66 comments

Asset Pipeline in Production

The Asset Pipeline is very useful, but it can be a pain in production. Here I show why it works the way it does, and how to customize it to fit your deployment setup. (13 minutes)