forked from spree/spree
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed: don't destroy dependent associations if we cannot destroy the …
…Product/Variant Previously : ensure_no_line_items callback could stop deleting the Product/Variant but associations (with dependent: :destroy) were deleted whatsoever, as this is a rails bug (see rails/rails#3458)
- Loading branch information
1 parent
38ef7a7
commit 573272f
Showing
2 changed files
with
8 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters