Skip to content

Commit

Permalink
Merge pull request #5658 from yahonda/address_ora_00918_with_oracle_f…
Browse files Browse the repository at this point in the history
…or_3_1

Address an error for test_has_many_through_polymorphic_has_one with Oracle
  • Loading branch information
spastorino committed Mar 29, 2012
2 parents eae9a07 + 53db676 commit 5cbb20d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion activerecord/test/cases/associations/join_model_test.rb
Expand Up @@ -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
Expand Down

0 comments on commit 5cbb20d

Please sign in to comment.