Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #5658 from yahonda/address_ora_00918_with_oracle_f…

…or_3_1

Address an error for test_has_many_through_polymorphic_has_one with Oracle
  • Loading branch information...
commit 5cbb20d0539978533b3cd2ea9c344884f38f282c 2 parents eae9a07 + 53db676
@spastorino spastorino authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  activerecord/test/cases/associations/join_model_test.rb
View
2  activerecord/test/cases/associations/join_model_test.rb
@@ -403,7 +403,7 @@ def test_has_many_through_has_many_find_by_id
end
def test_has_many_through_polymorphic_has_one
- assert_equal Tagging.find(1,2).sort_by { |t| t.id }, authors(:david).tagging.order(:id)
+ assert_equal Tagging.find(1,2).sort_by { |t| t.id }, authors(:david).tagging.order('taggings.id')
end
def test_has_many_through_polymorphic_has_many
Please sign in to comment.
Something went wrong with that request. Please try again.