Sha256: 4646079255ee170e65ed0521ae8c8bfa4ef66326b38b9fa4e522ce3cba2dcecf

Contents?: true

Size: 159 Bytes

Versions: 15

Compression:

Stored size: 159 Bytes

Contents

# frozen_string_literal: true

class SubjectRole < ApplicationRecord
  belongs_to :subject
  belongs_to :role

  validates :subject, :role, presence: true
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
aaf-gumboot-2.6.3 spec/dummy/app/models/subject_role.rb
aaf-gumboot-2.6.2 spec/dummy/app/models/subject_role.rb
aaf-gumboot-2.6.1 spec/dummy/app/models/subject_role.rb
aaf-gumboot-2.6.0 spec/dummy/app/models/subject_role.rb
aaf-gumboot-2.5.1 spec/dummy/app/models/subject_role.rb
aaf-gumboot-2.5.0 spec/dummy/app/models/subject_role.rb
aaf-gumboot-2.4.0 spec/dummy/app/models/subject_role.rb
aaf-gumboot-2.2.0 spec/dummy/app/models/subject_role.rb
aaf-gumboot-2.1.4 spec/dummy/app/models/subject_role.rb
aaf-gumboot-2.1.3 spec/dummy/app/models/subject_role.rb
aaf-gumboot-2.1.1 spec/dummy/app/models/subject_role.rb
aaf-gumboot-2.1.0 spec/dummy/app/models/subject_role.rb
aaf-gumboot-2.0.1 spec/dummy/app/models/subject_role.rb
aaf-gumboot-1.2.0 spec/dummy/app/models/subject_role.rb
aaf-gumboot-1.1.0 spec/dummy/app/models/subject_role.rb