diff options
author | Kassio Borges <kassioborgesm@gmail.com> | 2013-12-13 11:37:19 -0200 |
---|---|---|
committer | Kassio Borges <kassioborgesm@gmail.com> | 2013-12-13 11:55:13 -0200 |
commit | b8569b9337309c2d6c72566a3426994b6da443d7 (patch) | |
tree | 17f7bbfffe28df27abd4faa14b7aa29d9a4ce50e /activerecord/lib/active_record/scoping.rb | |
parent | 7ce846c17784f8fca930c850ab6dae3555b66f8c (diff) | |
download | rails-b8569b9337309c2d6c72566a3426994b6da443d7.tar.gz rails-b8569b9337309c2d6c72566a3426994b6da443d7.tar.bz2 rails-b8569b9337309c2d6c72566a3426994b6da443d7.zip |
Fix mysql to support duplicated column names
This will fix the [broken
test](https://github.com/rails/rails/commit/4a2650836680f51490e999c3c8441a2f9adff96e)
`test_with_limiting_with_custom_select`.
The query's result was built in a hash with column name as key, if the
result have a duplicated column name the last value was
overriding the first one.
Diffstat (limited to 'activerecord/lib/active_record/scoping.rb')
0 files changed, 0 insertions, 0 deletions