Sha256: 6b0a5bc4e42b74be16df2d76133882c20c6722e693b4184c8aa0cbe5757e90e3
Contents?: true
Size: 382 Bytes
Versions: 64
Compression:
Stored size: 382 Bytes
Contents
module MyForum class UserGroup < ActiveRecord::Base has_many :user_group_links has_many :users, through: :user_group_links has_many :category_permissions has_many :categories, through: :category_permissions # TODO fix this GUEST_GROUP = UserGroup.find_by_name('Guests') #find(1) MEMBER_GROUP = UserGroup.find_by_name('Member') #.find(2) end end
Version data entries
64 entries across 64 versions & 1 rubygems