swistak35
swistak35

Reputation: 51

Acts-as-tree in Rails3?

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...

Upvotes: 5

Views: 7010

Answers (3)

mrm
mrm

Reputation: 5222

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.

Upvotes: 0

manafire
manafire

Reputation: 6084

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

Upvotes: 6

Michael Hellein
Michael Hellein

Reputation: 4568

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.

Upvotes: 2

Related Questions