@@ -590,6 +590,8 module CollectiveIdea #:nodoc: | |||
|
590 | 590 | ["#{quoted_right_column_name} = (#{quoted_right_column_name} - ?)", diff] |
|
591 | 591 | ) |
|
592 | 592 | |
|
593 | # Reload is needed because children may have updated their parent (self) during deletion. | |
|
594 | reload | |
|
593 | 595 | # Don't allow multiple calls to destroy to corrupt the set |
|
594 | 596 | self.skip_before_destroy = true |
|
595 | 597 | end |
General Comments 0
You need to be logged in to leave comments.
Login now