`
studyworks
  • 浏览: 16715 次
  • 性别: Icon_minigender_1
  • 来自: 西安
最近访客 更多访客>>
社区版块
存档分类
最新评论

:dependent => :delete_all vs :destroy_all

 
阅读更多
    :delete_all is much faster than :destroy_all, it doesn't trigger any destroy callbacks on the associated object.
  
    :destroy_all iteratively call the associated objects's destroy method
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics