Looking at the example in Obie’s book.
Class Place < ActiveRecord::Base
class State < Place
class County < Place
class City < Place
Here we have a STI which has self joins.
Let’s say we wanted to add Politicians into this model. A politician
can belong to either State, County or City. What is the proper way to
add the Politician.
Do you go into all the models and add a has_many :politician?
Do you only add the has_many into the place model?
Do you make the relationship between politicians and cities, counties,
How about the politician class so you add a belongs_to :place or do
you add a belongs_to :city, belongs_to :state etc?