skyeagle/nested_set — pull request #53 by m3nd3s (2012-10-02 18:52:10+00:00)
Title: Added tag option to helper render_tree

Hi,

The helper `render_tree` force tag :ul as main tag for each node. I changed the `render_tree` to support an option called `tag` that can be used to define which tag should be used for each node.

Now it's possible to call something like that:

render_tree(Category.arrange, :tag => :ul ) do |category, child|
# here the html
end