RailsCasts Pro episodes are now free!

Learn more or hide this

Applied Filters: Active Record x
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)
Polymorphic Association
Episode #154Mar 23, 2009125 comments

Polymorphic Association

Polymorphic associations can be perplexing. In this episode I show you how to set it up in Active Record and then move to the controller and view layer. (8 minutes)
Rails 2.3 Extras
Episode #152Mar 09, 200955 comments

Rails 2.3 Extras

This episode finishes up this series on Rails 2.3. Here you will learn about several smaller additions in 2.3. (9 minutes)
Sortable Lists
Episode #147Feb 02, 200962 comments

Sortable Lists

Creating drag & drop sortable lists is fairly easy using Prototype and the built in helper methods. See how in this episode. (8 minutes)
Integrating Active Merchant
Episode #145Jan 19, 200991 comments

Integrating Active Merchant

In this episode I show how to add Active Merchant's functionality to a Rails application to make a fully-functional checkout process. (18 minutes)
Rails 2.2 Extras
Episode #140Dec 15, 200845 comments

Rails 2.2 Extras

This episode finishes up the Rails 2.2 series by showing a few miscellaneous additions that I find useful. (4 minutes)
Making a Gem
Episode #135Nov 10, 200846 comments

Making a Gem

Want to create a Ruby Gem instead of a Rails plugin? In this episode I will walk you through creating a gem to extend Rails. (9 minutes)
Helpers Outside Views
Episode #132Oct 20, 200858 comments

Helpers Outside Views

Have you ever wanted to access helper methods outside of the view layer? In this episode I show you a couple ways to do just that. (6 minutes)
Populating a Database
Episode #126Sep 08, 200891 comments

Populating a Database

Have you ever wanted to fill up a database with a lot of test data? See how to do that in this episode using the populator and faker gems. (8 minutes)