Sha256: 95cb03bb7e63ddc9dff5cb6c92abbd4add93b373c8587b88cbd218572620aa08
Contents?: true
Size: 404 Bytes
Versions: 134
Compression:
Stored size: 404 Bytes
Contents
# frozen_string_literal: true require_dependency "renalware/transplants" module Renalware module Transplants class FailureCauseDescription < ApplicationRecord belongs_to :group, class_name: "FailureCauseDescriptionGroup", foreign_key: "group_id" scope :ordered, -> { order(name: :asc) } validates :name, presence: true def to_s name end end end end
Version data entries
134 entries across 134 versions & 1 rubygems