Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix failing test on Oracle. Having a duplicated column specified in a

select with order on the same column makes Oracle complain about "column
ambiguously defined" when an order is defined on such column (introduced
by default order on `first`) (fixes #6147).
  • Loading branch information...
commit eea9777e99fe432c9a003a413c27c9476cf38087 1 parent 7746bf9
@mhfs mhfs authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  activerecord/test/cases/relation_scoping_test.rb
2  activerecord/test/cases/relation_scoping_test.rb
@@ -84,7 +84,7 @@ def test_scoped_find_select
def test_scope_select_concatenates"id, name").scoping do
- developer ='id, salary').where("name = 'David'").first
+ developer ='salary').where("name = 'David'").first
assert_equal 80000, developer.salary
assert developer.has_attribute?(:id)
assert developer.has_attribute?(:name)
Please sign in to comment.
Something went wrong with that request. Please try again.