Sha256: 9ff449a222a3893c07156ecb97287e260e0945580a0fce4617794e0f343a83a7
Contents?: true
Size: 500 Bytes
Versions: 9
Compression:
Stored size: 500 Bytes
Contents
require_dependency "renalware/messaging" # # Abstract Message base class. # Use Internal::Message etc. subclasses (stored via STI). # module Renalware module Messaging class Message < ApplicationRecord validates :body, presence: true validates :subject, presence: true validates :author, presence: true validates :patient, presence: true validates :sent_at, presence: true belongs_to :patient # no touch required belongs_to :author end end end
Version data entries
9 entries across 9 versions & 1 rubygems