Module | Ancestry::ClassMethods |
In: |
lib/ancestry/class_methods.rb
|
ANCESTRY_UNCAST_TYPES | = | [:string, :uuid, :text].freeze |
Arrange array of nodes into a nested hash of the form {node => children}, where children = {} if the node has no children If a node‘s parent is not included, the node will be included as if it is a top level node