Skip to content

Adds warning on usage of destroy_async. [ci skip]#40877

Merged
rafaelfranca merged 1 commit intorails:masterfrom
PhilCoggins:destroy_async_documentation_update
Dec 18, 2020
Merged

Adds warning on usage of destroy_async. [ci skip]#40877
rafaelfranca merged 1 commit intorails:masterfrom
PhilCoggins:destroy_async_documentation_update

Conversation

@PhilCoggins
Copy link
Contributor

Summary

Updates documentation of ActiveRecord::Associations::ClassMethods to add warning on using destroy_async as dependent option when the relationship is already backed by foreign key constraints.

Fixes #40777

* Updates documentation of ActiveRecord::Associations::ClassMethods to
add warning on using destroy_async as dependent option when the
relationship is already backed by foreign key constraints.
@rafaelfranca rafaelfranca merged commit 50bccf2 into rails:master Dec 18, 2020
rafaelfranca added a commit that referenced this pull request Dec 18, 2020
…n_update

Adds warning on usage of destroy_async. [ci skip]
@PhilCoggins PhilCoggins deleted the destroy_async_documentation_update branch December 18, 2020 22:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

destroy_async disregards existing foreign key constraints in the DB

2 participants