0

我正在将项目从 rails 2 升级到 4,但找不到与 rails 4 的“acts_as_tree”等效的 gem。我看到线程说“acts_as_tree”已被弃用,所以我正在寻找另一种在 Rails 4 中使用此方法的方法。 谢谢!

4

1 回答 1

0

acts_as_tree现在是宝石。如果您想使用它 - 将其添加到您的 Gemfile

这是acts_as_treegithub 上的项目: https ://github.com/amerine/acts_as_tree

于 2017-02-09T03:20:54.040 回答