<commit_before>class SiteConfiguration < ActiveRecord::Base
  # Relationships
  belongs_to :root_category, :class_name => 'Category'
  has_many :relations_in_site, :foreign_key => 'site_id', :class_name => 'MenuNode', :dependent => :destroy

end<commit_msg>Validación campo obligatorio en site_configurations<commit_after>class SiteConfiguration < ActiveRecord::Base
  # Relationships
  belongs_to :root_category, :class_name => 'Category'
  has_many :relations_in_site, :foreign_key => 'site_id', :class_name => 'MenuNode', :dependent => :destroy

  # Validates
  validates_presence_of :name

end
{'fraction_non_alphanumeric': 0.11055276381909548, 'fraction_numerical': 0.0, 'mean_word_length': 7.305555555555555, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 11, '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': '645998', 'n_tokens_mistral': 190, 'n_tokens_neox': 185, 'n_words': 40}