You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: repository.rb
    path of file: ./repos/hacktoberfest-2020/app/models
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

class Repository < ApplicationRecord
  MAX_DESCRIPTION_LENGTH = 180

  before_validation :truncate_description

  belongs_to :language, optional: true
  has_many :issues, dependent: :destroy

  va
    
  def self.with_highest_prs_count(limit = 20)
    select('count(pull_requests.id) as prs_count, repositories.*')
      .excluding_hacktoberfest_repos
      .joins(:pull_requests)
      .where(pull_requests: { is_valid: true })
      .group(:id)
      .order('prs_count DESC')
      .limit(limit)
  end