# #163 Self-Referential Association

> Episode of [RailsCasts](https://podistic.com/podcast/railscasts.md) · Published May 25, 2009 · Duration 14:36

- **Listen on Podistic:** https://podistic.com/episode/163-self-referential-association
- **Video:** http://media.railscasts.com/assets/episodes/videos/163-self-referential-association.mp4 (video/mp4)

## About this episode

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.
