<commit_before>class <%= model_class_name %>Session < Authlogic::Session::Base

  authenticate_with <%= model_class_name %>
  generalize_credentials_error_messages true
  params_key "user_credentials"

  def to_key
    new_record? ? nil : [self.send self.class.primary_key]
  end

end<commit_msg>Removed the to_key method from the Rails 2 rich authlogic user generator<commit_after>class <%= model_class_name %>Session < Authlogic::Session::Base

  authenticate_with <%= model_class_name %>
  generalize_credentials_error_messages true
  params_key "user_credentials"

end
{'fraction_non_alphanumeric': 0.08391608391608392, 'fraction_numerical': 0.0017482517482517483, 'mean_word_length': 6.441558441558442, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 7, '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': '2493282', 'n_tokens_mistral': 194, 'n_tokens_neox': 171, 'n_words': 39}