Acts-as-tree in Rails3?
Asked Answered
H

3

5

I need to use Acts As Tree in my Rails3 project (ruby 1.9.2). But, there are lot of forks on github, so I don't know which should I choose, and which is used by other developers? On Railsplugins.org there are http://www.railsplugins.org/plugins/376-acts-as-tree, but last commit was from March...

Homonym answered 2/1, 2011 at 21:26 Comment(0)
E
6

I'm using http://rubygems.org/gems/acts_as_tree_rails3. Works great.

Elitism answered 31/1, 2012 at 18:14 Comment(0)
F
2

I've gone with https://github.com/skyeagle/nested_set on my Rails3 projects. It's hard to say at this point where adoption will take things.

Foredeck answered 11/1, 2011 at 21:10 Comment(3)
can you tell me how it turned?Noonday
awesome_nested_set is now Rails 3. That's what I would do now. github.com/collectiveidea/awesome_nested_setForedeck
This might help you decide, as well: ruby-toolbox.com/categories/Active_Record_NestingForedeck
E
0

I'd suggest using https://github.com/mceachen/closure_tree if you can add a new table to store the hierarchies and want efficient select and mutate performance.

Estabrook answered 16/7, 2012 at 1:32 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.