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.
精彩评论