<commit_before>class InquiryMailer < ActionMailer::Base

  def confirmation(inquiry, request)
    subject     InquirySetting.confirmation_subject.value
    recipients  inquiry.email
    from        "\"#{RefinerySetting[:site_name]}\" <no-reply@#{request.domain(RefinerySetting.find_or_set(:tld_length, 1))}>"
    reply_to    InquirySetting.notification_recipients.value.split(',').first
    sent_on     Time.now
    @inquiry =  inquiry
  end

  def notification(inquiry, request)
    subject     InquirySetting.notification_subject.value
    recipients  InquirySetting.notification_recipients.value
    from        "\"#{RefinerySetting[:site_name]}\" <no-reply@#{request.domain(RefinerySetting.find_or_set(:tld_length, 1))}>"
    sent_on     Time.now
    @inquiry =  inquiry
  end

end<commit_msg>removed .value from the InquirySetting method calls as these return a string, which does not have the value method.<commit_after>class InquiryMailer < ActionMailer::Base

  def confirmation(inquiry, request)
    subject     InquirySetting.confirmation_subject
    recipients  inquiry.email
    from        "\"#{RefinerySetting[:site_name]}\" <no-reply@#{request.domain(RefinerySetting.find_or_set(:tld_length, 1))}>"
    reply_to    InquirySetting.notification_recipients.split(',').first
    sent_on     Time.now
    @inquiry =  inquiry
  end

  def notification(inquiry, request)
    subject     InquirySetting.notification_subject
    recipients  InquirySetting.notification_recipients
    from        "\"#{RefinerySetting[:site_name]}\" <no-reply@#{request.domain(RefinerySetting.find_or_set(:tld_length, 1))}>"
    sent_on     Time.now
    @inquiry =  inquiry
  end

end
{'fraction_non_alphanumeric': 0.10466507177033493, 'fraction_numerical': 0.0023923444976076554, 'mean_word_length': 4.116207951070336, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3840306', 'n_tokens_mistral': 525, 'n_tokens_neox': 517, 'n_words': 93}