Sha256: 1cb2b4c31162d28f668cbfa20f14a2f416e3e41f126ca0284df6fb1bf74a6f03

Contents?: true

Size: 219 Bytes

Versions: 2

Compression:

Stored size: 219 Bytes

Contents

class UsersHasGroups < ActiveRecord::Base
  attr_accessible :user_id, :user_group_id
  
  belongs_to :user
  belongs_to :user_group
  
  validates :user_id, presence: true
  validates :user_group_id, presence: true
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
guara-0.0.3 app/models/users_has_groups.rb
guara-0.0.1.rc app/models/users_has_groups.rb