method
construct_find_options!
Ruby on Rails latest stable (v7.1.3.2)
-
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