Method: GroupMixins::Guests#find_guests_groups
- Defined in:
- app/models/group_mixins/guests.rb
#find_guests_groups ⇒ Object
This method lists all guest subgroups of self, but not of the subgroups of self. This is used, for example, if there are several kinds of guests.
my_group
|---------- guests_parent
|----------- regular_guests <-- returned by this
|----------- vip_guests <-- method.
57 58 59 |
# File 'app/models/group_mixins/guests.rb', line 57 def find_guests_groups find_guests_parent_group.descendant_groups end |