ツリー構造が作れるAncestryというgemがありまして、親が削除されたときの子の振る舞い、ツリーの再構築の方法をオプションで選べます。
ところが、
has_ancestry :orphan_strategy => :adopt
にすると、エラーではじかれRailsも起動しなくなる。
エラーをみたところ、どうやら:adoptのコードが含まれていない模様。
なので、
gem 'ancestry', git: "https://github.com/stefankroes/ancestry.git"
とgithubから直接コードをbundle installしたら動きました。
このオプション群、便利ですねー。
くわしくは、
https://github.com/stefankroes/ancestry
のReed meから!