<commit_before>ActsAsTaggableOn::Tag.class_eval do
  extend FriendlyId

  friendly_id :name,
              use: :slugged,
              slug_column: :slug,
              reserved_words: ['atom', 'create', 'destroy', 'edit', 'rss', 'show', 'update']
end<commit_msg>Delete tag when it has no content. Resolves #8<commit_after>ActsAsTaggableOn::Tag.class_eval do
  extend FriendlyId

  friendly_id :name,
              use: :slugged,
              slug_column: :slug,
              reserved_words: ['atom', 'create', 'destroy', 'edit', 'rss', 'show', 'update']
end

ActsAsTaggableOn.remove_unused_tags = true
{'fraction_non_alphanumeric': 0.12892561983471074, 'fraction_numerical': 0.001652892561983471, 'mean_word_length': 3.122448979591837, 'pattern_counts': {'":': 0, '<': 3, '<?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': '1875188', 'n_tokens_mistral': 197, 'n_tokens_neox': 199, 'n_words': 47}