Sha256: d5809e468e0ebac0241e6a553296d46e971debc25fbbd71bfefab4572312ead0
Contents?: true
Size: 497 Bytes
Versions: 95
Compression:
Stored size: 497 Bytes
Contents
# frozen_string_literal: true require_dependency "renalware/patients" module Renalware module Patients class Worry < ApplicationRecord include Accountable has_paper_trail class_name: "Renalware::Patients::Version", on: [:create, :update, :destroy] belongs_to :patient, class_name: "Renalware::Patient", foreign_key: :patient_id, touch: true validates :patient, presence: true, uniqueness: true end end end
Version data entries
95 entries across 95 versions & 1 rubygems