method

foreign_key_present?

foreign_key_present?()
private

No documentation available.

# File activerecord/lib/active_record/associations/through_association.rb, line 90
        def foreign_key_present?
          through_reflection.belongs_to? && Array(through_reflection.foreign_key).all? do |foreign_key_column|
            !owner[foreign_key_column].nil?
          end
        end