trabajo-afectivo/app/models/role_group.rb

10 lines
284 B
Ruby

# Copyright (C) 2012-2021 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