Sha256: a26df30fd0f2ce46ac8ce9f75cb91515d7cebb20fc893f813e4ff9f4187a625c

Contents?: true

Size: 366 Bytes

Versions: 14

Compression:

Stored size: 366 Bytes

Contents

# frozen_string_literal: true

class Role < ApplicationRecord
  has_many :api_subject_roles, dependent: :destroy
  has_many :api_subjects, through: :api_subject_roles, dependent: :destroy

  has_many :subject_roles, dependent: :destroy
  has_many :subjects, through: :subject_roles, dependent: :destroy

  has_many :permissions, dependent: :destroy

  valhammer
end

Version data entries

14 entries across 14 versions & 1 rubygems

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