A sample project showing how to implement STI (Single Table Inheritance) in Rails 4.