<commit_before>class User < ActiveRecord::Base
  devise :database_authenticatable, :recoverable, :rememberable, :trackable, :validatable

  has_many :permissions
  has_many :roles, through: :permissions
  has_one :profile

  scope :without_user, ->(user) { where.not(id: user.id) }
end
<commit_msg>Remove unused scope from User model<commit_after>class User < ActiveRecord::Base
  devise :database_authenticatable, :recoverable, :rememberable, :trackable, :validatable

  has_many :permissions
  has_many :roles, through: :permissions
  has_one :profile
end

{'fraction_non_alphanumeric': 0.0985663082437276, 'fraction_numerical': 0.0, 'mean_word_length': 6.453333333333333, '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': '2925347', 'n_tokens_mistral': 183, 'n_tokens_neox': 175, 'n_words': 46}