Methods
F
Instance Public methods
foreign_key_present?()
# File activerecord/lib/active_record/associations/foreign_association.rb, line 3
def foreign_key_present?
  if reflection.klass.primary_key
    owner.attribute_present?(reflection.active_record_primary_key)
  else
    false
  end
end