Nanyang Zhan wrote:
> I've just built a acts_as_tree model,
> now I need to render it out as a tree structure in view.
> and I also need a action method to loop through every row of the
> database following the tree structure ( from root to it's branch, then
> to the ends of the branch, then go back for other branches...). I think
> both the view helper and action method need to use a similar loop style,
> and this code may be popular, at lease useful. Is there any article
> about this subject?
> 
> I've get a view snip, btw:
> http://snippets.dzone.com/tag/acts_as_tree
> 

You might want to tell the Rails folk, too.
http://www.rubyonrails.com/community

-- 
Phillip "CynicalRyan" Gawlowski
http://cynicalryan.110mb.com/
http://clothred.rubyforge.org

Rule of Open-Source Programming #8:

Open-Source is not a panacea.