method

foreign_key_present?

foreign_key_present?()
private

No documentation available.

# File activerecord/lib/active_record/associations/through_association.rb, line 71
        def foreign_key_present?
          through_reflection.macro == :belongs_to &&
          !owner[through_reflection.foreign_key].nil?
        end