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