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: comment.rb
    path of file: ./repos/open-build-service/src/api/app/queries/outdated_notifications_finder
    
    the code of the file until where you have to start completion: # This class gets the associated comment from the notification and then
# tries to return a
    
  def call
    return [] unless @notifiable_id

    comment = Comment.find(@notifiable_id)
    @scope
      .joins('JOIN comments ON notifications.notifiable_id = comments.id')
      .where(notifiable_type: 'Comment')
      .where(comments: { commentable_type: comment.commentable_type,
                         commentable_id: comment.commentable_id })
  end