Sha256: 7e0908a3eebfcca13c772333bfcfa8080bdddcbb6e29a4804ff904c951419c92
Contents?: true
Size: 279 Bytes
Versions: 21
Compression:
Stored size: 279 Bytes
Contents
module Sis module Core class FieldOfStudy < ApplicationRecord belongs_to :program_type, class_name: 'Sis::Core::ProgramType', foreign_key: 'lookup_id' validates :name, presence: true validates :name, uniqueness: { case_sensitive: true } end end end
Version data entries
21 entries across 21 versions & 1 rubygems