Sha256: 485a3c2312c0bfcbfd9b82d4ba110783118745058f80604127542ab04d1079ec

Contents?: true

Size: 133 Bytes

Versions: 2

Compression:

Stored size: 133 Bytes

Contents

class Group < ActiveRecord::Base
	has_many :group_users, :class_name => 'UserGroup'
	has_many :users, :through => :group_users
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
joinfix-0.1.0 rails/app/models/group.rb
joinfix-0.1.1 rails/app/models/group.rb