<commit_before>module Sluggable
  class Railtie < Rails::Railtie
    initializer 'sluggable.configure_rails_initialization' do
      ActiveRecord::Validations.send :include, Sluggable::Validations
      ActiveRecord::Base.send :include, Sluggable::Sluggify
    end
  end
end
<commit_msg>Add Validations to ActiveModel for reusability<commit_after>module Sluggable
  class Railtie < Rails::Railtie
    initializer 'sluggable.configure_rails_initialization' do
      ActiveModel::Validations.send :include, Sluggable::Validations
      ActiveRecord::Base.send :include, Sluggable::Sluggify
    end
  end
end

{'fraction_non_alphanumeric': 0.07590759075907591, 'fraction_numerical': 0.0, 'mean_word_length': 5.322916666666667, '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': '6310459', 'n_tokens_mistral': 188, 'n_tokens_neox': 177, 'n_words': 39}