method
construct_find_options!
v3.0.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 56 def construct_find_options!(options) options[:joins] = construct_joins(options[:joins]) options[:include] = @reflection.source_reflection.options[:include] if options[:include].nil? && @reflection.source_reflection.options[:include] end