I’m trying to implement a very simple acts_as_tree search in my index
I am able to show the parents, with no issue, but the children will
I have something like this for the parent, which displays fine:
<% for group in Group.roots %>
For the children, however, using the following will not work because
it is looking to the index method.
<% for group in Group.children %>
<%= link_to (group.name), groups %>
Any pointers? Should I be using object.children to get the children?