提交 37b1d33b 编写于 作者: D David Heinemeier Hansson

Try again

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8273 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
上级 e7dab3b1
......@@ -40,7 +40,7 @@ def test_with_ordering
def test_with_two_tables_in_from_without_getting_double_quoted
posts = Post.find(:all,
:select => "posts.*",
:from => "posts, authors",
:from => "authors, posts",
:include => :comments,
:conditions => "posts.author_id = authors.id"
)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册