views:

22

answers:

1

I could not find any tutorial

A: 

Set self.abstract_class=true on the parent class if you want table per subclass.

For single-table inheritance, there are instructions on this page: http://api.rubyonrails.org/classes/ActiveRecord/Base.html (Search for "inheritance").

Ben Scheirman