diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2017-10-24 21:47:11 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2017-10-24 21:47:11 +0900 |
commit | 019583e939f6615590a4d6c1e4370e4e973fedff (patch) | |
tree | 8a71f645e7ca081451a0ae901afc70857e32a229 /activerecord/lib/active_record/validations/length.rb | |
parent | d147ed02a00fe50f3428962dfadb5de076c56a5e (diff) | |
download | rails-019583e939f6615590a4d6c1e4370e4e973fedff.tar.gz rails-019583e939f6615590a4d6c1e4370e4e973fedff.tar.bz2 rails-019583e939f6615590a4d6c1e4370e4e973fedff.zip |
Ensure associations doesn't table name collide with aliased joins
Currently alias tracker only refer a table name, doesn't respect an
alias name. Should use `join.left.name` rather than
`join.left.table_name`.
Diffstat (limited to 'activerecord/lib/active_record/validations/length.rb')
0 files changed, 0 insertions, 0 deletions