Permalink
Browse files

Merge pull request #5655 from yahonda/address_ora_00918_with_oracle_f…

…or_3_0

Address an error for test_has_many_through_polymorphic_has_one with Oracle
  • Loading branch information...
2 parents 29320dc + 60272ae commit 72dc7ae95e3dd3a6f42adb550b1e3a78572e8375 @spastorino spastorino committed Mar 29, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 activerecord/test/cases/associations/join_model_test.rb
@@ -384,7 +384,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).taggings.order(:id)
+ assert_equal Tagging.find(1,2).sort_by { |t| t.id }, authors(:david).taggings.order('taggings.id')
end
def test_has_many_through_polymorphic_has_many

0 comments on commit 72dc7ae

Please sign in to comment.