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: voter.rb
    path of file: ./repos/consuldemocracy/app/models/poll
    
    the code of the file until where you have to start completion: class Poll
  class Voter < ApplicationRecord
    VALID_OR
    
    def set_demographic_info
      return if user.blank?

      self.gender  = user.gender
      self.age     = user.age
      self.geozone = user.geozone
    end