method
find_target
v2.1.0 -
Show latest stable
-
0 notes -
Class: ActiveRecord::Associations::HasManyThroughAssociation
find_target()
protected
Hide source
# File activerecord/lib/active_record/associations/has_many_through_association.rb, line 72 def find_target @reflection.klass.find(:all, :select => construct_select, :conditions => construct_conditions, :from => construct_from, :joins => construct_joins, :order => @reflection.options[:order], :limit => @reflection.options[:limit], :group => @reflection.options[:group], :readonly => @reflection.options[:readonly], :include => @reflection.options[:include] || @reflection.source_reflection.options[:include] ) end