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

Fix has_many :through

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3227 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
上级 60936c5c
......@@ -37,6 +37,7 @@ def method_missing(method, *args, &block)
def find_target
@reflection.klass.find(:all,
:select => "#{@reflection.table_name}.*",
:conditions => construct_conditions,
:from => construct_from,
:order => @reflection.options[:order],
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册