class Country < ApplicationRecord has_many :admissions, inverse_of: :country has_many :people, foreign_key: :birth_country_id, inverse_of: :birth_country end