<commit_before>require 'uri'

class Domain < ActiveRecord::Base
  belongs_to :realm
  validates_format_of :name, :with => /^[a-z0-9\.\-\_]+$/
  validates_uniqueness_of :name
end<commit_msg>denied underscores in domain names again<commit_after>require 'uri'

class Domain < ActiveRecord::Base
  belongs_to :realm
  validates_format_of :name, :with => /^[a-z0-9\.\-]+$/
  validates_uniqueness_of :name
end
{'fraction_non_alphanumeric': 0.141439205955335, 'fraction_numerical': 0.009925558312655087, 'mean_word_length': 5.029850746268656, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '2930642', 'n_tokens_mistral': 156, 'n_tokens_neox': 150, 'n_words': 32}