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: reset_machine_translation_characters_usage_worker.rb
    path of file: ./repos/texterify/app/workers
    
    the code of the file until where you have to start completion: require 'sidekiq-scheduler'

# Resets the translation character usage of the current month.
    
  def perform(*_args)
    if Texterify.cloud? || Rails.env.development? || Rails.env.test?
      Organization.all.each do |organization|
        organization.machine_translation_character_usage = 0
        organization.save!
      end

      Project.all.each do |project|
        project.machine_translation_character_usage = 0
        project.save!
      end
    end