1 2 3 4
class Treatment < ApplicationRecord belongs_to :patient has_one :physician, through: :patient end