<commit_before>class Message < ActiveRecord::Base
  # Association: a belongs_to association means that there must be a foreign key
  # in this table for the specified belongs_to columns.  In this case, it expects
  # topic_id and subscriber_id columns in the "messages" table.  When calling a
  # message, we can access the topics and subscriber with:
  # Message.topic or Message.subscriber.  You can chain these methods infinitely as
  # long as the associations exist.
  belongs_to :topic
  belongs_to :subscriber
end
<commit_msg>Changed message.subscriber to method.author<commit_after>class Message < ActiveRecord::Base
  # Association: a belongs_to association means that there must be a foreign key
  # in this table for the specified belongs_to columns.  In this case, it expects
  # topic_id and subscriber_id columns in the "messages" table.  When calling a
  # message, we can access the topics and subscriber with:
  # Message.topic or Message.subscriber.  You can chain these methods infinitely as
  # long as the associations exist.
  belongs_to :topic
  belongs_to :author, :class_name => 'Subscriber'
end

{'fraction_non_alphanumeric': 0.05352363960749331, 'fraction_numerical': 0.0, 'mean_word_length': 4.368421052631579, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 4, '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': '3474403', 'n_tokens_mistral': 298, 'n_tokens_neox': 295, 'n_words': 141}