<commit_before>class User < ApplicationRecord
  include GravatarConcern

  # Constants

  # Devise

  devise :database_authenticatable, :recoverable, :rememberable, :trackable

  # Associations

  has_many :lab_user_links, :dependent => :destroy
  has_many :labs,           :through   => :lab_user_links
  has_many :notes,          :dependent => :nullify

  has_many :saved_searches, :dependent => :destroy

  has_many :log_entries,    :dependent => :nullify

  #has_many :item_user_links, :dependent => :destroy

  # Validations<commit_msg>uncomment item_user_links<commit_after>class User < ApplicationRecord
  include GravatarConcern

  # Constants

  # Devise

  devise :database_authenticatable, :recoverable, :rememberable, :trackable

  # Associations

  has_many :lab_user_links, :dependent => :destroy
  has_many :labs,           :through   => :lab_user_links
  has_many :notes,          :dependent => :nullify

  has_many :saved_searches, :dependent => :destroy

  has_many :log_entries,    :dependent => :nullify

  has_many :item_user_links, :dependent => :destroy

  # Validations
{'fraction_non_alphanumeric': 0.09423604757548033, 'fraction_numerical': 0.0, 'mean_word_length': 4.160377358490566, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 15, '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': '762385', 'n_tokens_mistral': 364, 'n_tokens_neox': 337, 'n_words': 76}