DiscoverTeach Me To Code » ScreencastsSingle Table Inheritance – Ruby on Rails Tutorial
Single Table Inheritance – Ruby on Rails Tutorial

Single Table Inheritance – Ruby on Rails Tutorial

Update: 2011-04-08
Share

Description

Single Table Inheritance is a great way to handle related models that descend from the same class. The classic example is a Car class with Ford, Chevy, and Honda subclasses.

This Ruby on Rails Tutorial provides an example and explains how Rails puts all of the information in the same database table and allows you to query things from both the superclass and subclass.

Download 59.5 MB
Download (iPod and iPhone) 36.3 MB
Comments 
00:00
00:00
x

0.5x

0.8x

1.0x

1.25x

1.5x

2.0x

3.0x

Sleep Timer

Off

End of Episode

5 Minutes

10 Minutes

15 Minutes

30 Minutes

45 Minutes

60 Minutes

120 Minutes

Single Table Inheritance – Ruby on Rails Tutorial

Single Table Inheritance – Ruby on Rails Tutorial

Teach Me To Code Screencasts HD