<commit_before>require 'active_support/core_ext/hash'

module Rein
  module Constraint
  end
end

RC = Rein::Constraint

require 'rein/constraint/foreign_key'
require 'rein/constraint/inclusion'
require 'rein/constraint/numericality'
require 'rein/version'

if defined?(ActiveRecord)
  module ActiveRecord::ConnectionAdapters
    class PostgreSQLAdapter < AbstractAdapter
      include RC::ForeignKey
      include RC::Numericality
    end
  end
end<commit_msg>[FIXED] Include inclusion constraint in AR namespace.<commit_after>require 'active_support/core_ext/hash'

module Rein
  module Constraint
  end
end

RC = Rein::Constraint

require 'rein/constraint/foreign_key'
require 'rein/constraint/inclusion'
require 'rein/constraint/numericality'
require 'rein/version'

if defined?(ActiveRecord)
  module ActiveRecord::ConnectionAdapters
    class PostgreSQLAdapter < AbstractAdapter
      include RC::ForeignKey
      include RC::Inclusion
      include RC::Numericality
    end
  end
end
{'fraction_non_alphanumeric': 0.07575757575757576, 'fraction_numerical': 0.0, 'mean_word_length': 5.0426829268292686, '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': '5577258', 'n_tokens_mistral': 294, 'n_tokens_neox': 279, 'n_words': 71}