<commit_before>module ParsleySimpleForm
  module Validators
    module Confirmation
      def attribute_validate(*args)
        options = args.extract_options!
        options[:message] = :confirmation
        { 'parsley-confirm': "##{options[:object].model_name.singular}_#{options[:attribute_name]}_confirmation",
          'parsley-confirm-message': parsley_error_message(options) }
      end
    end
  end
end

module ActiveRecord
  module Validations
    class ConfirmationValidator < ActiveModel::EachValidator
      include ParsleySimpleForm::Validators::Confirmation
    end<commit_msg>Confirmation Validator was being loading in the wrong module ActiveRecord vs ActiveModel.<commit_after>module ParsleySimpleForm
  module Validators
    module Confirmation
      def attribute_validate(*args)
        options = args.extract_options!
        options[:message] = :confirmation
        { 'parsley-confirm': "##{options[:object].model_name.singular}_#{options[:attribute_name]}_confirmation",
          'parsley-confirm-message': parsley_error_message(options) }
      end
    end
  end
end

module ActiveModel
  module Validations
    class ConfirmationValidator < EachValidator
      include ParsleySimpleForm::Validators::Confirmation
    end
{'fraction_non_alphanumeric': 0.0824, 'fraction_numerical': 0.0, 'mean_word_length': 4.148148148148148, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, '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': '5101475', 'n_tokens_mistral': 329, 'n_tokens_neox': 324, 'n_words': 70}