Doc on scoped has_many, dependent: :destroy
Doc on scoped has_many, dependent: :destroy

This is to close #26111

Developers need to be aware that `dependent: :destroy` on a scoped
`has_many` association would only destroy the associated objects in
that scope. Potentially leaving other associated objects outside that
scope untouched.

assain/rails,tgxworld/rails,elfassy/rails,notapatch/rails,betesh/rails,deraru/rails,assain/rails,yasslab/railsguides.jp,utilum/rails,maicher/rails,repinel/rails,mohitnatoo/rails,Edouard-chin/rails,marklocklear/rails,elfassy/rails,mohitnatoo/rails,untidy-hair/rails,arunagw/rails,mtsmfm/railstest,riseshia/railsguides.kr,koic/rails,voray/rails,schuetzm/rails,kenta-s/rails,betesh/rails,yhirano55/rails,ledestin/rails,repinel/rails,illacceptanything/illacceptanything,mathieujobin/reduced-rails-for-travis,mechanicles/rails,tijwelch/rails,georgeclaghorn/rails,betesh/rails,hanystudy/rails,yawboakye/rails,yhirano55/rails,BlakeWilliams/rails,travisofthenorth/rails,felipecvo/rails,vipulnsward/rails,elfassy/rails,ngpestelos/rails,bradleypriest/rails,travisofthenorth/rails,Envek/rails,iainbeeston/rails,palkan/rails,mtsmfm/rails,illacceptanything/illacceptanything,MSP-Greg/rails,illacceptanything/illacceptanything,bolek/rails,lucasmazza/rails,Envek/rails,BlakeWilliams/rails,aditya-kapoor/rails,lcreid/rails,utilum/rails,Sen-Zhang/rails,MichaelSp/rails,tijwelch/rails,Stellenticket/rails,yhirano55/rails,kachick/rails,flanger001/rails,illacceptanything/illacceptanything,palkan/rails,notapatch/rails,EmmaB/rails-1,baerjam/rails,MSP-Greg/rails,kaspth/rails,rossta/rails,deraru/rails,gavingmiller/rails,printercu/rails,MichaelSp/rails,matrinox/rails,gauravtiwari/rails,Envek/rails,untidy-hair/rails,stefanmb/rails,esparta/rails,tgxworld/rails,gfvcastro/rails,tgxworld/rails,xlymian/rails,Edouard-chin/rails,gfvcastro/rails,gcourtemanche/rails,riseshia/railsguides.kr,sealocal/rails,Vasfed/rails,gfvcastro/rails,sergey-alekseev/rails,EmmaB/rails-1,bolek/rails,lucasmazza/rails,kmayer/rails,aditya-kapoor/rails,kmayer/rails,gauravtiwari/rails,lucasmazza/rails,richseviora/rails,starknx/rails,yalab/rails,kddeisz/rails,kamipo/rails,jeremy/rails,ttanimichi/rails,gauravtiwari/rails,mathieujobin/reduced-rails-for-travis,lcreid/rails,rbhitchcock/rails,arunagw/rails,yalab/rails,bogdanvlviv/rails,rossta/rails,coreyward/rails,travisofthenorth/rails,Edouard-chin/rails,joonyou/rails,illacceptanything/illacceptanything,Stellenticket/rails,kmcphillips/rails,stefanmb/rails,MSP-Greg/rails,tjschuck/rails,mijoharas/rails,mechanicles/rails,tgxworld/rails,ttanimichi/rails,tijwelch/rails,marklocklear/rails,yawboakye/rails,arjes/rails,shioyama/rails,fabianoleittes/rails,kmcphillips/rails,lcreid/rails,printercu/rails,gavingmiller/rails,utilum/rails,jeremy/rails,alecspopa/rails,kirs/rails-1,koic/rails,Vasfed/rails,kddeisz/rails,pschambacher/rails,baerjam/rails,pschambacher/rails,jeremy/rails,yahonda/rails,mtsmfm/rails,palkan/rails,Erol/rails,notapatch/rails,iainbeeston/rails,untidy-hair/rails,illacceptanything/illacceptanything,odedniv/rails,mathieujobin/reduced-rails-for-travis,EmmaB/rails-1,alecspopa/rails,Envek/rails,prathamesh-sonpatki/rails,baerjam/rails,eileencodes/rails,pschambacher/rails,iainbeeston/rails,ngpestelos/rails,arjes/rails,hanystudy/rails,aditya-kapoor/rails,MichaelSp/rails,esparta/rails,alecspopa/rails,illacceptanything/illacceptanything,rbhitchcock/rails,bogdanvlviv/rails,sergey-alekseev/rails,odedniv/rails,richseviora/rails,gavingmiller/rails,marklocklear/rails,rafaelfranca/omg-rails,rails/rails,Vasfed/rails,felipecvo/rails,yahonda/rails,kirs/rails-1,mtsmfm/rails,repinel/rails,deraru/rails,samphilipd/rails,brchristian/rails,riseshia/railsguides.kr,kachick/rails,rails/rails,joonyou/rails,shioyama/rails,mechanicles/rails,rafaelfranca/omg-rails,MSP-Greg/rails,deraru/rails,samphilipd/rails,esparta/rails,voray/rails,betesh/rails,richseviora/rails,eileencodes/rails,arunagw/rails,eileencodes/rails,Spin42/rails,mtsmfm/railstest,brchristian/rails,repinel/rails,samphilipd/rails,yasslab/railsguides.jp,baerjam/rails,mtsmfm/railstest,mohitnatoo/rails,maicher/rails,illacceptanything/illacceptanything,kamipo/rails,vipulnsward/rails,flanger001/rails,rossta/rails,gfvcastro/rails,Edouard-chin/rails,yalab/rails,illacceptanything/illacceptanything,xlymian/rails,fabianoleittes/rails,untidy-hair/rails,schuetzm/rails,illacceptanything/illacceptanything,starknx/rails,sealocal/rails,rails/rails,flanger001/rails,kenta-s/rails,yalab/rails,travisofthenorth/rails,printercu/rails,ledestin/rails,prathamesh-sonpatki/rails,starknx/rails,matrinox/rails,BlakeWilliams/rails,rbhitchcock/rails,hanystudy/rails,kddeisz/rails,xlymian/rails,lcreid/rails,kirs/rails-1,illacceptanything/illacceptanything,Stellenticket/rails,kamipo/rails,sealocal/rails,gcourtemanche/rails,shioyama/rails,coreyward/rails,gcourtemanche/rails,kaspth/rails,prathamesh-sonpatki/rails,jeremy/rails,coreyward/rails,pvalena/rails,notapatch/rails,yawboakye/rails,kmcphillips/rails,eileencodes/rails,rails/rails,aditya-kapoor/rails,palkan/rails,Spin42/rails,vipulnsward/rails,pvalena/rails,georgeclaghorn/rails,matrinox/rails,schuetzm/rails,kmcphillips/rails,illacceptanything/illacceptanything,yasslab/railsguides.jp,yahonda/rails,kaspth/rails,maicher/rails,yasslab/railsguides.jp,bradleypriest/rails,mohitnatoo/rails,illacceptanything/illacceptanything,illacceptanything/illacceptanything,bogdanvlviv/rails,schuetzm/rails,mechanicles/rails,Erol/rails,georgeclaghorn/rails,riseshia/railsguides.kr,vipulnsward/rails,pvalena/rails,ttanimichi/rails,mijoharas/rails,kenta-s/rails,utilum/rails,koic/rails,arunagw/rails,yhirano55/rails,iainbeeston/rails,yahonda/rails,shioyama/rails,mijoharas/rails,bolek/rails,illacceptanything/illacceptanything,tjschuck/rails,tjschuck/rails,printercu/rails,esparta/rails,joonyou/rails,Vasfed/rails,joonyou/rails,ngpestelos/rails,rafaelfranca/omg-rails,arjes/rails,fabianoleittes/rails,kachick/rails,voray/rails,assain/rails,stefanmb/rails,flanger001/rails,prathamesh-sonpatki/rails,Stellenticket/rails,brchristian/rails,odedniv/rails,assain/rails,tjschuck/rails,Erol/rails,pvalena/rails,ledestin/rails,Erol/rails,felipecvo/rails,Sen-Zhang/rails,georgeclaghorn/rails,kmayer/rails,fabianoleittes/rails,BlakeWilliams/rails,kddeisz/rails,sergey-alekseev/rails,bogdanvlviv/rails,bradleypriest/rails,yawboakye/rails,Sen-Zhang/rails,Spin42/rails