RailsCasts Pro episodes are now free!

Learn more or hide this

Polymorphic Association

#154 Polymorphic Association

Mar 23, 2009 | 8 minutes | Active Record, Routing
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.
  • Download:
  • source codeProject Files in Zip (191 KB)
  • mp4Full Size H.264 Video (13.8 MB)
  • m4vSmaller H.264 Video (9.32 MB)
  • webmFull Size VP8 Video (25.7 MB)
  • ogvFull Size Theora Video (20 MB)