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: activation_reminder_job.rb
    path of file: ./repos/weg-li/app/jobs/scheduled
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

class Scheduled::ActivationReminderJob < ApplicationJob
  def perform
    Rails.logger.info "send activation reminders"

    not_validated = User.user.where(validation_date: nil)
    not_
    
  def perform
    Rails.logger.info "send activation reminders"

    not_validated = User.user.where(validation_date: nil)
    not_validated.each do |user|
      if user.updated_at < 2.weeks.ago && user.notices.blank?
        Rails.logger.info "destroying unvalidated user #{user.id} #{user.name} #{user.email}"
        user.destroy!
      else
        Rails.logger.info "sending email validation to #{user.id} #{user.name} #{user.email}"
        UserMailer.validate(user).deliver_now
      end
    end