Go through normal where logic in destroy with locking
Go through normal where logic in destroy with locking

Building the Arel AST, and manipulating the relation manually like this
is prone to errors and breakage as implementation details change from
underneath it.

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