RailsCasts Pro episodes are now free!

Learn more or hide this

Applied Filters: migrations x
Formtastic Part 2
Episode #185 – Oct 26, 2009 – 74 comments

Formtastic Part 2

Learn about some of the more advanced functionality of Formtastic including handling many-to-many associations, required fields, and styling. (9 minutes)
Tableless Model
Episode #193 – Dec 21, 2009 – 55 comments

Tableless Model

If you want to create a model without a database backend, you simply need to define a couple methods in the model like I show in this episode. (8 minutes)
Pickle with Cucumber
Episode #186 – Nov 02, 2009 – 67 comments

Pickle with Cucumber

Pickle adds many convenient Cucumber steps for generating models. Also learn about table diffs in this episode. (16 minutes)
Model Versioning
Episode #177 – Aug 31, 2009 – 56 comments

Model Versioning

If you need to keep track of a model's history of changes and switch between versions, consider using the vestal_versions gem like I show in this episode. (9 minutes)
Polymorphic Association
Episode #154 – Mar 23, 2009 – 125 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)
OpenID with Authlogic
Episode #170 – Jul 13, 2009 – 72 comments

OpenID with Authlogic

Learn how to apply OpenID to an existing Authlogic setup as I show in this episode. This builds upon the app from episode 160. (11 minutes)
Paperclip
Episode #134 – Nov 03, 2008 – 158 comments

Paperclip

Need to add image attachments to a model? See how with paperclip in this episode. (7 minutes)
Delayed Job
Episode #171 – Jul 20, 2009 – 75 comments

Delayed Job

Is there a long running task which should be handled in the background? One of the best ways is using the delayed_job plugin like I show in this episode. (10 minutes)
Beginning with Cucumber
Episode #155 – Mar 30, 2009 – 107 comments

Beginning with Cucumber

Cucumber is a high-level testing framework. In this episode we will create a new Rails application from scratch using behavior driven development. (15 minutes)
Self-Referential Association
Episode #163 – May 25, 2009 – 88 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)