<commit_before>class User < ActiveRecord::Base
  def self.authenticate(email_address, password)
    find_by_email_address_and_password(email_address.downcase, password)
  end
  
  def before_save
      self.username.downcase!
  end
end<commit_msg>bugfix<commit_after>class User < ActiveRecord::Base
  def self.authenticate(email_address, password)
    find_by_email_address_and_password(email_address.downcase, password)
  end
  
  def before_save
      self.email_address.downcase!
  end
end
{'fraction_non_alphanumeric': 0.06910569105691057, 'fraction_numerical': 0.0, 'mean_word_length': 5.2405063291139244, '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': '186830', 'n_tokens_mistral': 160, 'n_tokens_neox': 157, 'n_words': 27}