我认为这个语法是
whatever: whatever
替换使用tASSOC的旧版本。然而,当我尝试在我的模型中使用它时,就像一样
dependent: destroy
它不起作用。为什么会出现这种情况?谢谢
如果使用符号作为值,则它需要是dependent: :destroy