Sha256: 2ea3ad000b9a82dc74985a21c0150b177e39835f3146ec57eb37a21e60107cfd
Contents?: true
Size: 274 Bytes
Versions: 22
Compression:
Stored size: 274 Bytes
Contents
require_dependency "renalware/hd" module Renalware module HD class DiurnalPeriodCode < ApplicationRecord validates :code, presence: true, uniqueness: true scope :for, ->(code) { where(code: code) } def to_s code end end end end
Version data entries
22 entries across 22 versions & 1 rubygems