Class: Kudos::AchievementGroup
- Inherits:
-
ApplicationRecord
- Object
- ActiveRecord::Base
- ApplicationRecord
- Kudos::AchievementGroup
- Includes:
- Uuidable
- Defined in:
- app/models/kudos/achievement_group.rb
Instance Method Summary collapse
Methods included from Uuidable
Instance Method Details
#with_children_groups ⇒ Object
26 27 28 |
# File 'app/models/kudos/achievement_group.rb', line 26 def with_children_groups children.flat_map(&:with_children_groups).push(id) end |