class Address < ApplicationRecord
  belongs_to :associate, polymorphic: true, optional: true

  validates :street, presence: true
  validates :street, :street_ext, length: { maximum: 64 }
  validates :city, :state, length: { maximum: 32 }
  validates :zip, length: { maximum: 10 }
end
