Pulling data from ancestry

Greetings friends,

I`m trying to make drop down menu which will pull data from the
categories made with ancestry. lets say i have:
Category
-subcategoy
-subsubcategory
My point is to pull Category.roots and by hovering on each of the
roots dropdown menu to show with the roots childrens and the childrens
childrens.
Somehow i cant deal with it. Can somebody help me out with it please?

Thanks in Advance

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