RailsCasts Pro episodes are now free!

Learn more or hide this

Applied Filters: rails x
Nginx & Unicorn
Episode #293Oct 24, 201173 comments

Nginx & Unicorn

Nginx and Unicorn make a killer-combo for hosting a Rails application in production. Learn how to configure each in a Vagrant virtual machine in this episode. (19 minutes)
Routing Walkthrough Part 1
Episode #231Sep 13, 201064 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)
HTTP Streaming
Episode #266May 16, 201153 comments

HTTP Streaming

HTTP Streaming allows the browser to start processing the HTML response while the Rails app is still processing the rest of the request. (9 minutes)
ActiveRecord::Relation Walkthrough
Episode #239Nov 07, 201042 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)
Active Record Reputation System
Episode #364Jul 09, 2012105 comments

Active Record Reputation System

If you need to calculate an average user's rating or sum up a number of votes, consider using the activerecord-reputation-system gem. Here I will cover the basics and also briefly present a from-scratch solution. (10 minutes)
I18n Backends
Episode #256Mar 07, 201154 comments

I18n Backends

Internationalization is easy to add in Rails, but the YAML files can be difficult to manage. In this episode I show how to use Redis for managing the translations through a web interface. (11 minutes)
will_paginate (revised)
Episode #51Oct 06, 201146 comments

will_paginate (revised)

Almost every Rails application needs pagination, and will_paginate is a great way to go. Here I show you how to set it up, customize the way it looks, and see how it compares with Kaminari. (6 minutes)
Hstore
Episode #345Apr 24, 201299 comments

Hstore

With hstore you can add schema-less data to PostgreSQL. This allows you to store model attributes without creating separate database columns. Watch how to do this using the activerecord-postgres-hstore gem. (10 minutes)
Zero-Downtime Deployment
Episode #373Aug 09, 201269 comments

Zero-Downtime Deployment

Here I show how to accomplish zero-downtime deployment using Unicorn. I also cover gotchas when working with migrations and how to put up a maintenance page when you do need to take down the site. (12 minutes)
Contributing to Rails with Git
Episode #113Jun 09, 200836 comments

Contributing to Rails with Git

If you want Rails to behave a certain way, try changing it and submitting a patch. This episode will show how to do exactly this using Git. (11 minutes)