I have two questions regarding the ActiveRecord Inheritance.
How can I use rail API to create model which is inherited from
another model?
Which approach should I use as inheritance: Single table Inheritance
or Multi table inheritance? Does RoR support both? If so, what is the
command to do that?
Which approach should I use as inheritance: Single table Inheritance
or Multi table inheritance? Does RoR support both? If so, what is the
command to do that?
If you Google for “rails inheritance” you should find lots of answers
to these questions. If after that, anything specific is not clear to
you, please ask again.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.