Showing 3 videos tagged with associations

Railscasts #185 - Formtastic Part 2

00:09:11 railscasts.com
Learn about some of the more advanced functionality of Formtastic including handling many-to-many associations, required fields, and styling.

Railscast - Episode 154: Polymorphic Association

00:08:52 railscasts.com
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.

Railscast - Episode 163: Self-Referential Association

00:14:36 railscasts.com
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.