fix not unique table/alias when any association is in outer_joins and joins or references
fix not unique table/alias when any association is in outer_joins and joins or references

activescaffold/active_scaffold,mallikarjunayaddala/active_scaffold,mallikarjunayaddala/active_scaffold,budree/active_scaffold,budree/active_scaffold,activescaffold/active_scaffold,AlbertoBarrago/active_scaffold,mallikarjunayaddala/active_scaffold,AlbertoBarrago/active_scaffold,activescaffold/active_scaffold,AlbertoBarrago/active_scaffold,budree/active_scaffold