A multi-table inheritance scheme for Rails/ActiveRecord that combines Rails single-table inheritance with a polymorphic association.
TODO
Add this line to your application's Gemfile:
gem 'multi_table'
And then execute:
$ bundle
Or install it yourself as:
$ gem install multi_table
The gem is available as open source under the terms of the MIT License.