Sha256: ecb7747acfd945d90173e5422a864b45b5362ea2b49fb8f84521d33e876b0bdd
Contents?: true
Size: 387 Bytes
Versions: 62
Compression:
Stored size: 387 Bytes
Contents
# frozen_string_literal: true require_dependency "renalware/pd" module Renalware module PD class RegimeTermination < ApplicationRecord include Accountable belongs_to :regime, touch: true validates :terminated_on, timeliness: { type: :date, on_or_after: ->(termination) { termination.regime.start_date } } end end end
Version data entries
62 entries across 62 versions & 1 rubygems