Sha256: dcb310c22c5169756de0c2372b423ebbf44ff86d768908d85bd937cd321ec64a
Contents?: true
Size: 534 Bytes
Versions: 142
Compression:
Stored size: 534 Bytes
Contents
# frozen_string_literal: true module Renalware module Transplants class CRFDatedResult < DatedResult validates :result, numericality: { greater_than: 0, less_than_or_equal_to: 100, allow_blank: true } # This allow us to add specific validation to this value object while keeping the # default rendering of DatedResult def to_partial_path "renalware/shared/documents/dated_result" end end end end
Version data entries
142 entries across 142 versions & 1 rubygems