I have a model using acts_as_tree which is working fine.
Being new to Ruby I’m don’t know what enumerator is best to use for
traversing a tree by depth. I can write one, but before I do I wanted
to know if there is there an enumerator for traversing trees available
that the community recommends?
I have a model using acts_as_tree which is working fine.
Being new to Ruby I’m don’t know what enumerator is best to use for
traversing a tree by depth. I can write one, but before I do I wanted
to know if there is there an enumerator for traversing trees available
that the community recommends?
I don’t know if it contains an enumerator, but acts_as_nested_set is
more efficient than acts_as_tree if you need to do this kind of
iteration more often.
I don’t know if it contains an enumerator, but acts_as_nested_set is
more efficient than acts_as_tree if you need to do this kind of
iteration more often.
It looks as if acts_as_nested_set is exactly what I am looking for.
Thank you for the suggestion.
I don’t know if it contains an enumerator, but acts_as_nested_set is
more efficient than acts_as_tree if you need to do this kind of
iteration more often.
It looks as if acts_as_nested_set is exactly what I am looking for.
Thank you for the suggestion.