Sign in through GitHub

Please read for an updated status on RailsCasts:

Learn more or hide this

Applied Filters: Pro Episodes x
Backbone on Rails Part 2
Episode #325Feb 13, 201263 comments

Backbone on Rails Part 2

In the second part of this two part series on Backbone.js, we finish up the Raffler application. Included is how to create entries through a form, respond to events, extract sub-views, pre-populate records, visit routes, and more. (24 minutes)
Backbone on Rails Part 1
Episode #323Feb 08, 2012169 comments

Backbone on Rails Part 1

In this first part of a two part series you will learn basic Backbone concepts including models, collections, routers, views and events. The backbone-on-rails gem is used for Rails integration with the asset pipeline. (18 minutes)
HTTP Caching
Episode #321Jan 30, 201225 comments

HTTP Caching

With HTTP response headers you can the cache in the user's browser and proxies. Etags, Last-Modified, Cache-Control and Rack::Cache are all covered here (15 minutes)
Rails Middleware Walkthrough
Episode #319Jan 23, 20126 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, 20127 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)
Rollout and Degrade
Episode #315Jan 09, 201214 comments

Rollout and Degrade

Learn how to use the Rollout gem to deploy a feature to a select group of users and the Degrade gem to automatically disable it upon failure. Also included is a way of doing this from scratch. (13 minutes)
Receiving Email with Mailman
Episode #313Jan 02, 201249 comments

Receiving Email with Mailman

The Mailman gem makes it easy to receive email in a Rails application. Here I show how to write a script to run Mailman in its own process and pull down mail from a POP3 account. (11 minutes)
Form Builders
Episode #311Dec 26, 201115 comments

Form Builders

Forms often follow a similar pattern with a lot of repetition. Learn how to clean up form views and remove duplication with the help of form builders. (12 minutes)
A Shell-Scripting Story
Episode #309Dec 19, 201113 comments

A Shell-Scripting Story

This episode continues off of the previous episode on Oh My ZSH showing how to script Z Shell. Here I show how to write a Rake autocompletion script and cover a few more useful utilities. (10 minutes)
ElasticSearch Part 2
Episode #307Dec 12, 201136 comments

ElasticSearch Part 2

This final part on ElasticSearch and Tire will show how to make more complex search queries, customize the indexing, and add facets. (16 minutes)