RailsCasts Pro episodes are now free!

Learn more or hide this

YAML Configuration File
Episode #85Dec 23, 200750 comments

YAML Configuration File

Application configuration shouldn't be spread throughout your code base. Instead a much better place to put it is an external YAML file. See how to do that in this episode. (7 minutes)
Cookie Based Session Store
Episode #84Dec 16, 200738 comments

Cookie Based Session Store

In Rails 1.2 the default session store is file based. This is inefficient and difficult to maintain. In Rails 2.0 the default is now cookie based which has several benefits as you will see in this episode. (4 minutes)
Migrations in Rails 2.0
Episode #83Dec 09, 200741 comments

Migrations in Rails 2.0

Migrations are now sexy in Rails 2.0! In this episode we will take a look at these improvements and the related rake tasks. (5 minutes)
HTTP Basic Authentication
Episode #82Dec 02, 200777 comments

HTTP Basic Authentication

Rails 2.0 offers an extremely easy way to do HTTP basic authentication. See how in this episode. (4 minutes)
Fixtures in Rails 2.0
Episode #81Nov 25, 200751 comments

Fixtures in Rails 2.0

In Rails 2.0, fixtures see many improvements which makes them much easier to manage. Watch this episode for details. (4 minutes)
Simplify Views with Rails 2.0
Episode #80Nov 18, 200760 comments

Simplify Views with Rails 2.0

Rails 2.0 is almost here. One of the many features in this release is the smarter helper methods which can make your views much cleaner. Learn all about it in this Episode. (6 minutes)
Generate Named Routes
Episode #79Nov 11, 200731 comments

Generate Named Routes

This more advanced episode will show you how to dynamically generate named routes by adding a method to the map object. (5 minutes)
Generating PDF Documents
Episode #78Nov 04, 200769 comments

Generating PDF Documents

In this episode I will show you how to create PDF documents using the excellent PDF::Writer gem. (7 minutes)
Destroy Without JavaScript
Episode #77Oct 29, 200744 comments

Destroy Without JavaScript

If the user has JavaScript disabled, the "Destroy" link might not work properly. In this episode I will explore a number of ways to work around this issue. (7 minutes)
scope_out
Episode #76Oct 22, 200732 comments

scope_out

The scope_out plugin will generate several helpful find methods for you automatically! It's the best way to move the find conditions into your model. Watch this episode for details. (6 minutes)