开发者

Does destroy result in cascaded delete of the dependents

:dependent => :destroy

Does destroy result in cascaded delete开发者_如何学编程 of the dependents across the supported databases?


Yes, as long as each dependent model has the attribute set in the model definition.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜