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:
parent
60936c5c84
commit
4263490728
1 changed files with 1 additions and 0 deletions
|
@ -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],
|
||||
|
|
Loading…
Reference in a new issue