rails/rails — pull request #7791 by acapilleri (2012-09-29 21:40:40+00:00)
Title: small refactoring of build_relation in uniqueness

reflection init as 'if' stantment.
column is always the same expression and depends from the changing of attributes