Permalink
Browse files

Address an error for test_has_many_through_polymorphic_has_one

with Oracle for the 3-0-stable branch
  • Loading branch information...
1 parent 29320dc commit 60272ae5a60f02eb92bf6a0aa52627ee9412e4e6 @yahonda committed Mar 29, 2012
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
@@ -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 60272ae

Please sign in to comment.