同時acts_as_tree 和 ancestry gem
修改ancestry-1.2.4/lib/ancestry/has_ancestry.rb
# Alias has_ancestry with acts_as_tree, if it's available. # if !defined?(ActsAsTree) # alias_method :acts_as_tree, :has_ancestry # end