Removing stock locations was taking a very long time if a large number of product records exist and multiple stock locations.
Removing stock locations was taking a very long time if a large number of product records exist and multiple stock locations.

dependent: destroy loads each of the records and attempts to destroy it. This is useful if the model has any destroy callbacks, but StockItem model does not. Deleting all the stock items in one fell swoop is therefore a better solution.

Fixes #3504

Lostmyname/spree,jordan-brough/spree,firman/spree,CiscoCloud/spree,mindvolt/spree,pervino/spree,shioyama/spree,piousbox/spree,joanblake/spree,archSeer/spree,archSeer/spree,caiqinghua/spree,yiqing95/spree,azclick/spree,RatioClothing/spree,lsirivong/spree,orenf/spree,grzlus/spree,Migweld/spree,odk211/spree,rakibulislam/spree,alejandromangione/spree,trigrass2/spree,carlesjove/spree,NerdsvilleCEO/spree,Arpsara/solidus,bricesanchez/spree,Engeltj/spree,cutefrank/spree,Mayvenn/spree,quentinuys/spree,groundctrl/spree,Hawaiideveloper/shoppingcart,robodisco/spree,PhoenixTeam/spree_phoenix,KMikhaylovCTG/spree,vinsol/spree,derekluo/spree,welitonfreitas/spree,Senjai/solidus,caiqinghua/spree,shaywood2/spree,tesserakt/clean_spree,vinayvinsol/spree,dafontaine/spree,knuepwebdev/FloatTubeRodHolders,gregoryrikson/spree-sample,caiqinghua/spree,vinayvinsol/spree,dotandbo/spree,trigrass2/spree,delphsoft/spree-store-ballchair,jordan-brough/solidus,gregoryrikson/spree-sample,tailic/spree,Lostmyname/spree,jordan-brough/solidus,useiichi/spree,jspizziri/spree,Nevensoft/spree,scottcrawford03/solidus,ckk-scratch/solidus,vmatekole/spree,jsurdilla/solidus,bjornlinder/Spree,APohio/spree,Ropeney/spree,quentinuys/spree,alvinjean/spree,forkata/solidus,shekibobo/spree,jasonfb/spree,shioyama/spree,AgilTec/spree,azranel/spree,delphsoft/spree-store-ballchair,jeffboulet/spree,ujai/spree,brchristian/spree,jasonfb/spree,karlitxo/spree,yomishra/pce,joanblake/spree,keatonrow/spree,rbngzlv/spree,JDutil/spree,abhishekjain16/spree,sideci-sample/sideci-sample-spree,reidblomquist/spree,CiscoCloud/spree,Lostmyname/spree,azranel/spree,raow/spree,reidblomquist/spree,progsri/spree,lyzxsc/spree,pjmj777/spree,agient/agientstorefront,surfdome/spree,ahmetabdi/spree,jsurdilla/solidus,calvinl/spree,AgilTec/spree,JuandGirald/spree,keatonrow/spree,jeffboulet/spree,raow/spree,Migweld/spree,jaspreet21anand/spree,sunny2601/spree,hifly/spree,priyank-gupta/spree,Engeltj/spree,bricesanchez/spree,imella/spree,Engeltj/spree,jspizziri/spree,APohio/spree,urimikhli/spree,StemboltHQ/spree,welitonfreitas/spree,tesserakt/clean_spree,gautamsawhney/spree,KMikhaylovCTG/spree,freerunningtech/spree,builtbybuffalo/spree,edgward/spree,locomotivapro/spree,kitwalker12/spree,nooysters/spree,carlesjove/spree,edgward/spree,Migweld/spree,degica/spree,urimikhli/spree,pjmj777/spree,lsirivong/spree,NerdsvilleCEO/spree,locomotivapro/spree,DynamoMTL/spree,tancnle/spree,grzlus/spree,berkes/spree,yiqing95/spree,jaspreet21anand/spree,DarkoP/spree,piousbox/spree,patdec/spree,miyazawatomoka/spree,welitonfreitas/spree,robodisco/spree,Migweld/spree,softr8/spree,lyzxsc/spree,adaddeo/spree,lsirivong/solidus,vcavallo/spree,hoanghiep90/spree,miyazawatomoka/spree,athal7/solidus,dafontaine/spree,Arpsara/solidus,trigrass2/spree,Senjai/solidus,thogg4/spree,tancnle/spree,project-eutopia/spree,TrialGuides/spree,brchristian/spree,alejandromangione/spree,tomash/spree,shaywood2/spree,woboinc/spree,carlesjove/spree,miyazawatomoka/spree,derekluo/spree,camelmasa/spree,xuewenfei/solidus,ramkumar-kr/spree,athal7/solidus,jaspreet21anand/spree,yushine/spree,zamiang/spree,Machpowersystems/spree_mach,Nevensoft/spree,scottcrawford03/solidus,SadTreeFriends/spree,hoanghiep90/spree,azranel/spree,Machpowersystems/spree_mach,orenf/spree,richardnuno/solidus,grzlus/solidus,quentinuys/spree,delphsoft/spree-store-ballchair,vinayvinsol/spree,vmatekole/spree,radarseesradar/spree,freerunningtech/spree,delphsoft/spree-store-ballchair,rakibulislam/spree,jparr/spree,abhishekjain16/spree,camelmasa/spree,shekibobo/spree,softr8/spree,useiichi/spree,agient/agientstorefront,njerrywerry/spree,jasonfb/spree,odk211/spree,yiqing95/spree,knuepwebdev/FloatTubeRodHolders,alvinjean/spree,moneyspyder/spree,cutefrank/spree,ayb/spree,azclick/spree,reinaris/spree,beni55/spree,fahidnasir/spree,builtbybuffalo/spree,dafontaine/spree,AgilTec/spree,tesserakt/clean_spree,hifly/spree,pervino/spree,Arpsara/solidus,alepore/spree,carlesjove/spree,progsri/spree,imella/spree,mleglise/spree,shaywood2/spree,jhawthorn/spree,project-eutopia/spree,richardnuno/solidus,StemboltHQ/spree,kewaunited/spree,athal7/solidus,grzlus/solidus,gautamsawhney/spree,volpejoaquin/spree,lyzxsc/spree,trigrass2/spree,berkes/spree,jimblesm/spree,madetech/spree,zaeznet/spree,sfcgeorge/spree,Machpowersystems/spree_mach,berkes/spree,madetech/spree,bonobos/solidus,Senjai/solidus,woboinc/spree,moneyspyder/spree,ahmetabdi/spree,builtbybuffalo/spree,rbngzlv/spree,bonobos/solidus,ckk-scratch/solidus,gautamsawhney/spree,sunny2601/spree,ramkumar-kr/spree,patdec/spree,calvinl/spree,Ropeney/spree,reinaris/spree,forkata/solidus,priyank-gupta/spree,devilcoders/solidus,yiqing95/spree,tailic/spree,raow/spree,tomash/spree,softr8/spree,orenf/spree,tomash/spree,Senjai/solidus,degica/spree,LBRapid/spree,calvinl/spree,pulkit21/spree,archSeer/spree,dafontaine/spree,madetech/spree,assembledbrands/spree,tomash/spree,AgilTec/spree,forkata/solidus,jsurdilla/solidus,sliaquat/spree,robodisco/spree,lsirivong/spree,jimblesm/spree,beni55/spree,surfdome/spree,yomishra/pce,jordan-brough/solidus,jparr/spree,zaeznet/spree,tancnle/spree,rakibulislam/spree,dandanwei/spree,quentinuys/spree,zamiang/spree,Hates/spree,knuepwebdev/FloatTubeRodHolders,bonobos/solidus,rajeevriitm/spree,siddharth28/spree,omarsar/spree,SadTreeFriends/spree,net2b/spree,beni55/spree,agient/agientstorefront,Senjai/spree,sliaquat/spree,nooysters/spree,cutefrank/spree,maybii/spree,Kagetsuki/spree,CJMrozek/spree,surfdome/spree,alvinjean/spree,useiichi/spree,TimurTarasenko/spree,dotandbo/spree,CJMrozek/spree,yushine/spree,azclick/spree,jordan-brough/spree,archSeer/spree,pervino/solidus,firman/spree,raow/spree,keatonrow/spree,groundctrl/spree,Ropeney/spree,alejandromangione/spree,tancnle/spree,rajeevriitm/spree,Kagetsuki/spree,assembledbrands/spree,progsri/spree,hoanghiep90/spree,vulk/spree,nooysters/spree,locomotivapro/spree,joanblake/spree,rbngzlv/spree,StemboltHQ/spree,dandanwei/spree,dandanwei/spree,dandanwei/spree,ayb/spree,TimurTarasenko/spree,ahmetabdi/spree,freerunningtech/spree,jaspreet21anand/spree,gregoryrikson/spree-sample,xuewenfei/solidus,azclick/spree,azranel/spree,TrialGuides/spree,FadliKun/spree,radarseesradar/spree,LBRapid/spree,xuewenfei/solidus,madetech/spree,adaddeo/spree,net2b/spree,miyazawatomoka/spree,JuandGirald/spree,vcavallo/spree,reidblomquist/spree,kewaunited/spree,lsirivong/solidus,Kagetsuki/spree,DarkoP/spree,maybii/spree,scottcrawford03/solidus,Nevensoft/spree,wolfieorama/spree,caiqinghua/spree,priyank-gupta/spree,CiscoCloud/spree,volpejoaquin/spree,project-eutopia/spree,groundctrl/spree,groundctrl/spree,devilcoders/solidus,vcavallo/spree,radarseesradar/spree,alepore/spree,yomishra/pce,reinaris/spree,pulkit21/spree,adaddeo/spree,Kagetsuki/spree,devilcoders/solidus,zaeznet/spree,lsirivong/solidus,net2b/spree,sfcgeorge/spree,vmatekole/spree,net2b/spree,jordan-brough/solidus,JDutil/spree,tailic/spree,PhoenixTeam/spree_phoenix,Boomkat/spree,builtbybuffalo/spree,bjornlinder/Spree,bjornlinder/Spree,FadliKun/spree,pervino/solidus,Mayvenn/spree,derekluo/spree,gregoryrikson/spree-sample,siddharth28/spree,jasonfb/spree,pulkit21/spree,zamiang/spree,biagidp/spree,jimblesm/spree,LBRapid/spree,Senjai/spree,omarsar/spree,grzlus/solidus,DynamoMTL/spree,Arpsara/solidus,odk211/spree,fahidnasir/spree,forkata/solidus,vinsol/spree,mleglise/spree,athal7/solidus,Hates/spree,Boomkat/spree,JuandGirald/spree,bricesanchez/spree,pervino/spree,adaddeo/spree,alejandromangione/spree,zaeznet/spree,Ropeney/spree,alvinjean/spree,njerrywerry/spree,locomotivapro/spree,ramkumar-kr/spree,jhawthorn/spree,thogg4/spree,jeffboulet/spree,shaywood2/spree,tesserakt/clean_spree,sliaquat/spree,ckk-scratch/solidus,ramkumar-kr/spree,ujai/spree,wolfieorama/spree,patdec/spree,imella/spree,Mayvenn/spree,Hawaiideveloper/shoppingcart,sideci-sample/sideci-sample-spree,mleglise/spree,useiichi/spree,fahidnasir/spree,vulk/spree,DarkoP/spree,maybii/spree,karlitxo/spree,ayb/spree,Hates/spree,Engeltj/spree,alepore/spree,ayb/spree,shekibobo/spree,lyzxsc/spree,volpejoaquin/spree,rajeevriitm/spree,grzlus/spree,yushine/spree,vinayvinsol/spree,degica/spree,PhoenixTeam/spree_phoenix,jhawthorn/spree,Lostmyname/spree,radarseesradar/spree,yushine/spree,softr8/spree,thogg4/spree,devilcoders/solidus,RatioClothing/spree,reidblomquist/spree,abhishekjain16/spree,APohio/spree,sunny2601/spree,Boomkat/spree,calvinl/spree,agient/agientstorefront,priyank-gupta/spree,watg/spree,SadTreeFriends/spree,jparr/spree,hoanghiep90/spree,siddharth28/spree,CJMrozek/spree,grzlus/solidus,vinsol/spree,kewaunited/spree,abhishekjain16/spree,APohio/spree,piousbox/spree,jimblesm/spree,jspizziri/spree,keatonrow/spree,vcavallo/spree,ahmetabdi/spree,PhoenixTeam/spree_phoenix,ckk-scratch/solidus,berkes/spree,sliaquat/spree,thogg4/spree,grzlus/spree,sideci-sample/sideci-sample-spree,nooysters/spree,ujai/spree,shekibobo/spree,jordan-brough/spree,omarsar/spree,maybii/spree,zamiang/spree,mindvolt/spree,rakibulislam/spree,njerrywerry/spree,pervino/spree,pulkit21/spree,njerrywerry/spree,joanblake/spree,dotandbo/spree,mindvolt/spree,richardnuno/solidus,Hates/spree,jeffboulet/spree,TimurTarasenko/spree,watg/spree,Mayvenn/spree,moneyspyder/spree,edgward/spree,TrialGuides/spree,mindvolt/spree,beni55/spree,NerdsvilleCEO/spree,jparr/spree,JuandGirald/spree,DynamoMTL/spree,camelmasa/spree,welitonfreitas/spree,project-eutopia/spree,omarsar/spree,TimurTarasenko/spree,bonobos/solidus,edgward/spree,FadliKun/spree,shioyama/spree,KMikhaylovCTG/spree,rajeevriitm/spree,hifly/spree,surfdome/spree,richardnuno/solidus,kitwalker12/spree,orenf/spree,piousbox/spree,CiscoCloud/spree,vmatekole/spree,hifly/spree,volpejoaquin/spree,wolfieorama/spree,FadliKun/spree,fahidnasir/spree,Boomkat/spree,assembledbrands/spree,xuewenfei/solidus,TrialGuides/spree,lsirivong/solidus,karlitxo/spree,NerdsvilleCEO/spree,Hawaiideveloper/shoppingcart,sfcgeorge/spree,brchristian/spree,cutefrank/spree,brchristian/spree,biagidp/spree,odk211/spree,robodisco/spree,kewaunited/spree,siddharth28/spree,jspizziri/spree,pjmj777/spree,DarkoP/spree,CJMrozek/spree,camelmasa/spree,RatioClothing/spree,kitwalker12/spree,gautamsawhney/spree,patdec/spree,firman/spree,karlitxo/spree,JDutil/spree,progsri/spree,SadTreeFriends/spree,JDutil/spree,lsirivong/spree,vulk/spree,woboinc/spree,scottcrawford03/solidus,KMikhaylovCTG/spree,sfcgeorge/spree,pervino/solidus,urimikhli/spree,biagidp/spree,reinaris/spree,DynamoMTL/spree,vulk/spree,sunny2601/spree,wolfieorama/spree,watg/spree,mleglise/spree,firman/spree,vinsol/spree,dotandbo/spree,Nevensoft/spree,derekluo/spree,pervino/solidus,moneyspyder/spree,Senjai/spree,jsurdilla/solidus,rbngzlv/spree,Hawaiideveloper/shoppingcart