Archief voor 'Ruby on Rails'

13 Sep 2009

Awesome nested sets (HOWTO)

Geplaatst door jhaagmans onder Ruby on Rails

Most of you will probably know about acts_as_tree. It’s a very simple tree implementation which can help you organize your categories, for example. Combined with acts_as_list, child category can even be organized amonst themselves. However, it’s not really nice and there are better plugins to do it.
One example is awesome_nested_set. A nested set created with [...]