title: How to implement Active Record inheritance in Ruby on Rails?
body: <p>How to implement inheritance with active records?</p>
  
  <p>For example, I want a class Animal, class Dog, and class Cat.</p>
  
  <p>How would the model and the database table mapping be?</p>