Sha256: 7a383a6ca6b20c0275de6798b8780829940b26b405be298ee0935f7fb2bfabb3
Contents?: true
Size: 402 Bytes
Versions: 9
Compression:
Stored size: 402 Bytes
Contents
require_dependency "renalware/patients" module Renalware module Patients class Practice < ApplicationRecord has_one :address, as: :addressable has_and_belongs_to_many :primary_care_physicians accepts_nested_attributes_for :address, allow_destroy: true validates_presence_of :name validates_presence_of :address validates_presence_of :code end end end
Version data entries
9 entries across 9 versions & 1 rubygems