Sha256: cb758db155d66808567ecb763354c0bb9579db6f9f7e333eab82f74b0322c134

Contents?: true

Size: 163 Bytes

Versions: 15

Compression:

Stored size: 163 Bytes

Contents

module Sis
  module Core
    class AcademicYear < ApplicationRecord
      validates :year, presence: true, uniqueness: { case_sensitive: false }
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
sis_core-1.0.20 app/models/sis/core/academic_year.rb
sis_core-1.0.19 app/models/sis/core/academic_year.rb
sis_core-1.0.18 app/models/sis/core/academic_year.rb
sis_core-1.0.17 app/models/sis/core/academic_year.rb
sis_core-1.0.16 app/models/sis/core/academic_year.rb
sis_core-1.0.15 app/models/sis/core/academic_year.rb
sis_core-1.0.14 app/models/sis/core/academic_year.rb
sis_core-1.0.13 app/models/sis/core/academic_year.rb
sis_core-1.0.12 app/models/sis/core/academic_year.rb
sis_core-1.0.11 app/models/sis/core/academic_year.rb
sis_core-1.0.10 app/models/sis/core/academic_year.rb
sis_core-1.0.9 app/models/sis/core/academic_year.rb
sis_core-1.0.8 app/models/sis/core/academic_year.rb
sis_core-1.0.7 app/models/sis/core/academic_year.rb
sis_core-1.0.6 app/models/sis/core/academic_year.rb