Skip to content

Conversation

@casperisfine
Copy link
Contributor

@casperisfine casperisfine commented Nov 14, 2024

Also use dependent: :delete rather than destroy for models that don't have an after_destroy callback. Actually we can't do that because we need to clear nested models.

@casperisfine casperisfine force-pushed the destroy-stack-opt-4 branch 3 times, most recently from f2afecd to e839123 Compare November 14, 2024 12:25
Also use `dependent: :delete` rather than destroy for models
that don't have an `after_destroy` callback.
@casperisfine casperisfine merged commit d17f4cd into main Nov 14, 2024
15 checks passed
@casperisfine casperisfine deleted the destroy-stack-opt-4 branch November 14, 2024 12:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants