diff options
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/lib/active_record/associations/has_many_through_association.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/activerecord/lib/active_record/associations/has_many_through_association.rb b/activerecord/lib/active_record/associations/has_many_through_association.rb index ca4496b32e..f9020ebcad 100644 --- a/activerecord/lib/active_record/associations/has_many_through_association.rb +++ b/activerecord/lib/active_record/associations/has_many_through_association.rb @@ -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], |