I am upgrading a project from rails 2 to 4 but cannot find what is the equivalent gem for "acts_as_tree" for rails 4. I saw threads saying "acts_as_tree" is already deprecated, so am looking for another way to use this method in Rails 4. Thank you!
Asked
Active
Viewed 331 times
0
-
[`acts_as_tree`](https://github.com/amerine/acts_as_tree) doesn't appear to be deprecated. – mu is too short Feb 09 '17 at 03:15
-
I already installed using 'gem install acts_as_tree' and then bundle install. But it still gives me the same error 'undefined method `acts_as_tree' – skyranch Feb 09 '17 at 03:54
-
1`gem install acts_as_tree and then bundle install.` because this isn't how you install a gem using bundler... add it to your `Gemfile` then run bundle install. After doing so, it should be listed in `Gemfile.lock` – Taryn East Feb 09 '17 at 04:18
1 Answers
0
acts_as_tree
is now a gem. If you want to use it - add it to your Gemfile
Here is the acts_as_tree
project on github:
https://github.com/amerine/acts_as_tree

Taryn East
- 27,486
- 9
- 86
- 108