I have 2 very basic questions:
I have tree structures in my table and currently use
Node.find_all_by_parent_id(nil). but this returns all the trees with
parent_id == nil. Since I have more than 1 tree structure I want
something like Node.find_all_by_id(id) . Is this function available?
Is there a function available that deletes an entire branch?
The answers are probably easily available in the mannuals but I haven’t
found them. Maybe someone can point me out where they get this info
Thanks in advance