method
construct_find_options!
v2.1.0 -
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 45 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