RailsCasts Pro episodes are now free!

Learn more or hide this

Applied Filters: Free Episodes x
Metric Fu
Episode #166Jun 15, 200943 comments

Metric Fu

Metric Fu is a compilation of several tools to help find areas of code that could be improved. In this episode I show you how to setup this tool on the railscasts.com source code. (9 minutes)
Edit Multiple
Episode #165Jun 08, 200951 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, 200970 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, 200988 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, 200970 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, 200950 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, 2009127 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, 200957 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, 200967 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, 200940 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)