<commit_before>class User < ApplicationRecord
  has_many :transactions
  has_many :documents
end<commit_msg>If a user is destroyed then all its dependent transactions and documents should be destroyed as well.<commit_after>class User < ApplicationRecord
  has_many :transactions, dependent: :destroy
  has_many :documents, dependent: :destroy
end
{'fraction_non_alphanumeric': 0.05491329479768786, 'fraction_numerical': 0.0, 'mean_word_length': 6.543478260869565, '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': '7175900', 'n_tokens_mistral': 89, 'n_tokens_neox': 86, 'n_words': 35}