Sign in through GitHub

Please read for an updated status on RailsCasts:

Learn more or hide this

Edit Multiple
Episode #165Jun 08, 200929 comments

Edit Multiple

Use checkboxes to select multiple records and edit them all in one form as shown in this episode. With virtual attributes you can even edit values relatively! (14 minutes)
Cron in Ruby
Episode #164Jun 01, 200951 comments

Cron in Ruby

Cron is great for handling recurring tasks, but it is an external dependency with a crazy syntax. In this episode I show you how to use Whenever to create cron jobs with Ruby. (8 minutes)
Self-Referential Association
Episode #163May 25, 200956 comments

Self-Referential Association

Creating a social networking site often requires a self-referential association on the User model to define friends/followers. In this episode I show how to do exactly that. (14 minutes)
Tree Based Navigation
Episode #162May 18, 200943 comments

Tree Based Navigation

The acts_as_tree plugin provides many methods for handling a tree based association. In this episode I show how to build a navigation system with tabs, subpages, and breadcrumbs. (11 minutes)
Three Profiling Tools
Episode #161May 11, 200930 comments

Three Profiling Tools

Ever want to know what Rails is doing under the hood during a request? In this episode I show three different profiling tools: New Relic RPM, FiveRuns TuneUp, and Rack::Bug. (7 minutes)
Authlogic
Episode #160May 04, 2009102 comments

Authlogic

Authentication can get very complex. In this episode I show how Authlogic can handle this complexity while you stay in control of how it is presented to the user. (14 minutes)
More on Cucumber
Episode #159Apr 27, 200936 comments

More on Cucumber

There is a lot more to Cucumber than I showed in an earlier episode. See how to refactor complex scenarios in this episode. (18 minutes)
Factories not Fixtures
Episode #158Apr 20, 200928 comments

Factories not Fixtures

Fixtures are external dependencies which can make tests brittle and difficult to read. In this episode I show a better alternative using factories to generate the needed records. (12 minutes)
RSpec Matchers & Macros
Episode #157Apr 13, 200919 comments

RSpec Matchers & Macros

You can improve the readability and remove duplication in RSpec by adding matchers and macros. Learn how in this episode. (18 minutes)
Webrat
Episode #156Apr 06, 200933 comments

Webrat

If you prefer writing integration tests in ruby instead of Cucumber's plain english, consider interacting with Webrat directly as I show in this episode. (7 minutes)