Adding fix for scaffold when using an alias association, mostly found on self joined models, or models that have multiple associations to the same model
Adding fix for scaffold when using an alias association, mostly found on self joined models, or models that have multiple associations to the same model

git-svn-id: 5860920b332e8b1c20d5ac1ddb0cfb1512ef151a@3820 3807eeeb-6ff5-0310-8944-8be069107fe0

michaelze/cakephp,dakota/cakephp,HavokInspiration/cakephp,jjj117/cakephp,eryw/cakephp,bravo-kernel/cakephp,cakephp/cakephp,Balachan27/cakephp,cakephp-fr/cakephp,tisu2tisu/cakephp,pbaire/cakephp,dakota/cakephp,nrother/cakephp,tisu2tisu/cakephp,davidyell/cakephp,tisu2tisu/cakephp,dkarvounaris/cakephp,elboletaire/cakephp,HavokInspiration/cakephp,web-player/cakephp,CakeDC/cakephp,timhoeppner/cakephp,akintoey/cakephp,web-player/cakephp,cakephp/cakephp,CVO-Technologies/cakephp,ndm2/cakephp,mvdriel/cakephp,nrother/cakephp,petteyg/cakephp,garethellis36/cakephp,CakeDC/cakephp,tgr0ss/cakephp,CVO-Technologies/cakephp,michaelze/cakephp,dkarvounaris/cakephp,kumamidori/cakephp,petteyg/cakephp,mvdriel/cakephp,garethellis36/cakephp,HavokInspiration/cakephp,yinhe007/cakephp,tenkoma/cakephp,ionas/cakephp,tgr0ss/cakephp,ndm2/cakephp,jerems02/cakephp,davidyell/cakephp,ADmad/cakephp,pbaire/cakephp,eboominathan/cakephp,ndm2/cakephp,jeffblack360/cakephp,CakeDC/cakephp,berrygoudswaard/cakephp,CVO-Technologies/cakephp,garethellis36/cakephp,jerems02/cakephp,ionas/cakephp,erikfig/cakephp,Phillaf/cakephp,kumamidori/cakephp,et304383/passbolt_api,yinhe007/cakephp,tenkoma/cakephp,dakota/cakephp,kumamidori/cakephp,davidyell/cakephp,bravo-kernel/cakephp,mvdriel/cakephp,burriko/cakephp,burriko/cakephp,cakephp-fr/cakephp,jjj117/cakephp,elboletaire/cakephp,elboletaire/cakephp,gmponos/cakephp,tenkoma/cakephp,timhoeppner/cakephp,khoimt/cakephp-study,erikfig/cakephp,adopico/cakephp,tgr0ss/cakephp,mvdriel/cakephp,timhoeppner/cakephp,michaelze/cakephp,et304383/passbolt_api,jjj117/cakephp,dakota/cakephp,erikfig/cakephp,jerems02/cakephp,thinkingmedia/cakephp,eboominathan/cakephp,petteyg/cakephp,khoimt/cakephp-study,CakeDC/cakephp,ADmad/cakephp,justinyost/cakephp,adopico/cakephp,berrygoudswaard/cakephp,cakephp/cakephp,dkarvounaris/cakephp,Phillaf/cakephp,et304383/passbolt_api,ADmad/cakephp,thinkingmedia/cakephp,ndm2/cakephp,petteyg/cakephp,bravo-kernel/cakephp,eryw/cakephp,berrygoudswaard/cakephp,burriko/cakephp,tenkoma/cakephp,nrother/cakephp,ADmad/cakephp,akintoey/cakephp,jeffblack360/cakephp,Balachan27/cakephp,cakephp/cakephp,eryw/cakephp,gmponos/cakephp,Phillaf/cakephp,akintoey/cakephp,justinyost/cakephp,thinkingmedia/cakephp,khoimt/cakephp-study,et304383/passbolt_api,web-player/cakephp,justinyost/cakephp,pbaire/cakephp,ionas/cakephp,yinhe007/cakephp,et304383/passbolt_api,adopico/cakephp,gmponos/cakephp,eboominathan/cakephp,Balachan27/cakephp,cakephp-fr/cakephp,jeffblack360/cakephp,garethellis36/cakephp