# File lib/brakeman/checks/check_link_to.rb, line 77
  def check_method(result, argument)
    return false if tracker.options[:ignore_model_output]
    match = has_immediate_model?(argument)
    return false unless match
    method = match.method
    return false if IGNORE_MODEL_METHODS.include? method

    confidence = :medium
    confidence = :high if likely_model_attribute? match
    warn_xss(result, msg("Unescaped model attribute in ", msg_code("link_to")), match, confidence)
  end