How to implement Tree structures in RoR


I am a newbie, i wanna know how to implement database driven Tree
structures in RoR? Is there any direct support available or should they
be implemented in Javascript ?

Any tutorial link if provided will be of good help

Thanks in advance




There is no support for client side javascript trees which display
acts_as_tree data. However there are widgets from dojo tool kit which you can use in your views to show the
data. There are demos and example source code on the dojo site.
Shouldn’t be too hard to drop them in to the rails views.