Fix has_many :through

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3227 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
David Heinemeier Hansson
2005-12-07 23:20:11 +00:00
parent 60936c5c84
commit 4263490728

View File

@@ -37,6 +37,7 @@ module ActiveRecord
def find_target
@reflection.klass.find(:all,
:select => "#{@reflection.table_name}.*",
:conditions => construct_conditions,
:from => construct_from,
:order => @reflection.options[:order],