Sha256: dfa8bbe4194b3913ed18aa65594b8ceeb617dc723a7c5926b2b4aa0034c845c3

Contents?: true

Size: 173 Bytes

Versions: 15

Compression:

Stored size: 173 Bytes

Contents

module Sis
  module Core
    class ApplicationModule < ApplicationRecord
      has_and_belongs_to_many :users
      validates :code, :name, presence: true
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

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