Show warning message if delete_all is firing callbacks
`post.comments.delete_all` will fire callbacks if :dependent option is :destroy . It will be fixed in Rails 4.1 . In the meantime display a warning . Look at #9567 for details .
Showing
想要评论请 注册 或 登录