class Visit < ApplicationRecord belongs_to :patient end