How to implement Tree structures in RoR

Hi,

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

Sathya

acts_as_tree

http://api.rubyonrails.org/classes/ActiveRecord/Acts/Tree/ClassMethods.html#M000566

-Jonathan.

There is no support for client side javascript trees which display
acts_as_tree data. However there are widgets from dojo tool kit
http://dojotoolkit.org/ 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.

-bakki

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs