1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

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],