Sha256: 0e12da1b18763fa3c79db2338d0ad39307382d02e144b88a658f814299f700dc

Contents?: true

Size: 199 Bytes

Versions: 9

Compression:

Stored size: 199 Bytes

Contents

class Adeia::GroupUser < ActiveRecord::Base
  belongs_to :group, foreign_key: :adeia_group_id
  belongs_to :user

  validates :user_id, presence: true
  validates :adeia_group_id, presence: true
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
adeia-1.0.0 app/models/adeia/group_user.rb
adeia-0.15.4 app/models/adeia/group_user.rb
adeia-0.15.3 app/models/adeia/group_user.rb
adeia-0.15.2 app/models/adeia/group_user.rb
adeia-0.15.1 app/models/adeia/group_user.rb
adeia-0.15.0 app/models/adeia/group_user.rb
adeia-0.14.0 app/models/adeia/group_user.rb
adeia-0.13.1 app/models/adeia/group_user.rb
adeia-0.13.0 app/models/adeia/group_user.rb