Sha256: d5e9678386563f7f3e6ab6652d4591845b9c4ec780cef9b2efbbe645171ed07c
Contents?: true
Size: 530 Bytes
Versions: 75
Compression:
Stored size: 530 Bytes
Contents
# frozen_string_literal: true require_dependency "renalware/low_clearance" require "document/base" module Renalware module LowClearance class Profile < ApplicationRecord include Accountable include Document::Base validates :patient, presence: true belongs_to :patient, touch: true has_document class_name: "Renalware::LowClearance::ProfileDocument" has_paper_trail class_name: "Renalware::LowClearance::Version", on: [:create, :update, :destroy] end end end
Version data entries
75 entries across 75 versions & 1 rubygems