Commit graph

6 commits

Author SHA1 Message Date
Bob Van Landuyt
1b0156204d Recover from errors when a parent is not preloaded 2018-04-18 17:15:51 +02:00
Bob Van Landuyt
57bd3bb34a Force parents to be preloaded for building a hierarchy 2017-10-05 11:10:57 +02:00
Bob Van Landuyt
167fd71348 Always preload all elements in a hierarchy to avoid extra queries. 2017-10-04 22:49:42 +02:00
Bob Van Landuyt
ef043063f9 Clean up public/private api of GroupDescendant
So only methods that are used elsewhere are public.
2017-10-04 22:49:42 +02:00
Bob Van Landuyt
cd85c22faa Rename hierarchies to descendants where applicable 2017-10-04 22:49:42 +02:00
Bob Van Landuyt
22aa034427 Rename GroupHierarchy to GroupDescendant 2017-10-04 22:49:41 +02:00
Renamed from spec/models/concerns/group_hierarchy_spec.rb (Browse further)