Rails 3,作为树行为的最佳行为是什么? [英] Rails 3, what's the best act as tree behavior?

查看:144
本文介绍了Rails 3,作为树行为的最佳行为是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



从我所看到的有很多,我是想知道其他人的想法。



如果有任何伟大的或者狡猾的避免。



干杯。 title =Ancestry> Ancestry ,效率非常高。

So I'm looking for a gem that will bring some tree behavior to the pages model.

From what I can see there are quite a few, I was wondering what other people thought.

If there any great ones or and dodgy ones to avoid.

Cheers.

解决方案

Take a look at Ancestry, it's remarkably efficient.

这篇关于Rails 3,作为树行为的最佳行为是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆