一.左右值算法
https://github.com/collectiveidea/awesome_nested_set
二.自实现
https://ruby-china.org/topics/20322