trabajo-afectivo/app/models/role_group.rb

11 lines
284 B
Ruby
Raw Normal View History

# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/
class RoleGroup < ApplicationModel
include HasGroupRelationDefinition
self.table_name = 'roles_groups'
# don't list roles in Group association result
Group.association_attributes_ignored :roles
end