method
construct_find_options!
v2.2.1 -
Show latest stable
-
0 notes -
Class: ActiveRecord::Associations::HasManyThroughAssociation
construct_find_options!(options)
protected
Hide source
# File activerecord/lib/active_record/associations/has_many_through_association.rb, line 43 def construct_find_options!(options) options[:select] = construct_select(options[:select]) options[:from] ||= construct_from options[:joins] = construct_joins(options[:joins]) options[:include] = @reflection.source_reflection.options[:include] if options[:include].nil? end