目前我管理节点的方式:
a = Section.create(name: 'test') b = Node.create(name: "test", summary: "testsumary", section_id: a.id)
用 seed
/cpanel
两者皆可~ 多谢~