method

set_strict_loading

set_strict_loading(record)
public

No documentation available.

# File activerecord/lib/active_record/associations/association.rb, line 123
      def set_strict_loading(record)
        if owner.strict_loading_n_plus_one_only? && reflection.macro == :has_many
          record.strict_loading!
        else
          record.strict_loading!(false, mode: owner.strict_loading_mode)
        end
      end