Sign in through GitHub

Please read for an updated status on RailsCasts:

Learn more or hide this

Applied Filters: Revised Episodes x
Dynamic Page Caching (revised)
Episode #169Feb 11, 201219 comments

Dynamic Page Caching (revised)

Page caching is great for speeding up the performance of a page, but what if it contains user-specific content? Learn how to load content in dynamically through JavaScript in this episode. (7 minutes)
Page Caching (revised)
Episode #89Feb 02, 201220 comments

Page Caching (revised)

Page caching is an efficient way to cache full content to be served by the front-end web server. Learn how to deal with pagination, expiration with sweepers, and user-specific content in this episode. (9 minutes)
Rails Metal (revised)
Episode #150Jan 27, 20126 comments

Rails Metal (revised)

Rails metal may have been removed in Rails 3, but it is possible to bypass the entire Rails stack through middleware as shown in this episode. (6 minutes)
Adding an Environment (revised)
Episode #72Jan 19, 20128 comments

Adding an Environment (revised)

Rails comes with three environments: development, test, and production, but it is easy to add your own. Here I show how to add a separate staging environment and how to start up Rails under this. (4 minutes)
Subdomains (revised)
Episode #123Jan 13, 201230 comments

Subdomains (revised)

In Rails 3.1 subdomains are easier than ever to use. Here I show how to route a subdomain to a specific controller action, generate links, nest resources, and more. (7 minutes)
Delayed Job (revised)
Episode #171Jan 07, 201227 comments

Delayed Job (revised)

Long requests should be moved into a background process, and Delayed Job is one of the easiest ways to do this because it works with an Active Record database. (8 minutes)
Cron in Ruby (revised)
Episode #164Dec 29, 201113 comments

Cron in Ruby (revised)

Cron is a common solution for recurring jobs, but it has a confusing syntax. In this episode I show you how to use Whenever to create cron jobs using Ruby. Some alternative scheduling solutions are also mentioned. (6 minutes)
HABTM Checkboxes (revised)
Episode #17Dec 22, 201156 comments

HABTM Checkboxes (revised)

A many-to-many association can be edited through check boxes in a form. Here I show how to do this with a has_many through association complete with clickable labels. (6 minutes)
Endless Page (revised)
Episode #114Dec 16, 201166 comments

Endless Page (revised)

Transform traditional pagination into infinite scrolling which will automatically fetch more records when the user scrolls down to the bottom of the page. (7 minutes)
Thinking Sphinx (revised)
Episode #120Dec 09, 201113 comments

Thinking Sphinx (revised)

Sphinx is a full-text search engine for use with MySQL or PostgreSQL. Learn how to add Thinking Sphinx by defining an index on your model and searching with various options. (10 minutes)