cleanup `update/reset_counters`: less SQL strings, more ActiveRecord/Arel
cleanup `update/reset_counters`: less SQL strings, more ActiveRecord/Arel

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