Sign in through GitHub

Please read for an updated status on RailsCasts:

Learn more or hide this

STI and Polymorphic Associations

#394 STI and Polymorphic Associations pro

Nov 25, 2012 | 14 minutes | Active Record, Refactoring
Single Table Inheritance (STI) can help organize branching logic into separate classes, but a polymorphic association may be a better fit if there are unique database columns.