unfactoring JOIN to_sql
unfactoring JOIN to_sql

tacid/arel,Stellenticket/rails,Stellenticket/rails,arunagw/rails,assain/rails,Envek/rails,tacid/arel,MSP-Greg/rails,Erol/rails,schuetzm/rails,vipulnsward/rails,kmcphillips/rails,lcreid/rails,jasnow/arel,iainbeeston/rails,prathamesh-sonpatki/rails,jsanders/arel,universsky/arel,illacceptanything/illacceptanything,palkan/rails,yawboakye/rails,yahonda/arel,baerjam/rails,Vasfed/rails,pvalena/rails,georgeclaghorn/rails,kbrock/arel,repinel/rails,baerjam/rails,illacceptanything/illacceptanything,lcreid/rails,flanger001/rails,kmcphillips/rails,ngpestelos/arel,BlakeWilliams/rails,fabianoleittes/rails,baerjam/rails,baerjam/rails,deraru/rails,amitsuroliya/arel,vipulnsward/rails,deraru/rails,fabianoleittes/rails,printercu/rails,flanger001/rails,aditya-kapoor/rails,deraru/rails,kmcphillips/rails,yhirano55/rails,Stellenticket/rails,Edouard-chin/rails,tjschuck/rails,kddeisz/rails,bogdanvlviv/rails,yahonda/rails,schuetzm/rails,yawboakye/rails,yui-knk/arel,Envek/rails,starknx/rails,deraru/rails,illacceptanything/illacceptanything,flavorjones/arel,yalab/rails,Eric-Guo/arel,iainbeeston/rails,yhirano55/rails,iainbeeston/rails,yalab/rails,georgeclaghorn/rails,eileencodes/rails,esparta/rails,schuetzm/rails,yalab/rails,tjschuck/rails,palkan/rails,bogdanvlviv/rails,maclover7/arel,assain/rails,illacceptanything/illacceptanything,mohitnatoo/rails,prathamesh-sonpatki/rails,starknx/rails,printercu/rails,kddeisz/rails,illacceptanything/illacceptanything,amatsuda/arel,notapatch/rails,schuetzm/rails,yawboakye/rails,EmmaB/rails-1,BlakeWilliams/rails,yalab/rails,assain/rails,untidy-hair/rails,tgxworld/rails,iainbeeston/rails,yhirano55/rails,utilum/rails,pvalena/rails,Vasfed/rails,Envek/rails,betesh/rails,repinel/rails,rails/rails,shioyama/rails,Erol/rails,Edouard-chin/rails,esparta/rails,yahonda/arel,amitsuroliya/arel,fabianoleittes/rails,prathamesh-sonpatki/arel,joonyou/rails,notapatch/rails,kmcphillips/rails,palkan/rails,yahonda/rails,betesh/rails,flanger001/rails,yahonda/rails,ngpestelos/arel,yhirano55/rails,prathamesh-sonpatki/rails,georgeclaghorn/rails,tjschuck/rails,illacceptanything/illacceptanything,tjschuck/rails,EmmaB/rails-1,jeremy/rails,fabianoleittes/rails,esparta/rails,Edouard-chin/rails,MSP-Greg/rails,utilum/rails,jetthoughts/arel,rafaelfranca/omg-rails,slobodankovacevic/arel,illacceptanything/illacceptanything,mohitnatoo/rails,joonyou/rails,starknx/rails,rails/rails,untidy-hair/rails,Edouard-chin/rails,ifad/arel-sybase-visitor,arunagw/rails,Eric-Guo/arel,rafaelfranca/omg-rails,kbrock/arel,sferik/arel,jacobmoe/arel,aditya-kapoor/rails,jemc/arel,vipulnsward/arel,joonyou/rails,esparta/rails,jeremy/rails,illacceptanything/illacceptanything,eileencodes/rails,zeckalpha/arel,MSP-Greg/rails,palkan/rails,arunagw/rails,betesh/rails,flanger001/rails,printercu/rails,betesh/rails,kddeisz/rails,modernmsg/arel,zeckalpha/arel,mohitnatoo/rails,repinel/rails,jemc/arel,rails/rails,yahonda/rails,repinel/rails,gauravtiwari/rails,vipulnsward/rails,illacceptanything/illacceptanything,universsky/arel,yui-knk/arel,printercu/rails,rails/rails,tgxworld/rails,Stellenticket/rails,jacobmoe/arel,aditya-kapoor/rails,illacceptanything/illacceptanything,MSP-Greg/rails,yawboakye/rails,tgxworld/rails,Vasfed/rails,jeremy/rails,mechanicles/rails,aditya-kapoor/rails,maclover7/arel,modernmsg/arel,shioyama/rails,joonyou/rails,Vasfed/rails,rails/arel,untidy-hair/rails,eileencodes/rails,Envek/rails,BlakeWilliams/rails,jeremy/rails,kddeisz/rails,felixbuenemann/arel,mechanicles/rails,bogdanvlviv/rails,lcreid/rails,illacceptanything/illacceptanything,gauravtiwari/rails,illacceptanything/illacceptanything,illacceptanything/illacceptanything,shioyama/rails,notapatch/rails,untidy-hair/rails,BlakeWilliams/rails,EmmaB/rails-1,tgxworld/rails,gauravtiwari/rails,pvalena/rails,lcreid/rails,arunagw/rails,illacceptanything/illacceptanything,rafaelfranca/omg-rails,guilleiguaran/motion-arel,georgeclaghorn/rails,Erol/rails,assain/rails,bogdanvlviv/rails,pvalena/rails,Erol/rails,mohitnatoo/rails,vipulnsward/rails,brynary/arel,utilum/rails,notapatch/rails,eileencodes/rails,prathamesh-sonpatki/rails,utilum/rails,mechanicles/rails,illacceptanything/illacceptanything,mechanicles/rails,NARKOZ/arel,shioyama/rails,jasnow/arel