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: localized_fields.rb
    path of file: ./repos/workarea/core/lib/workarea/configuration
    
    the code of the file until where you have to start completion: module Workarea
  module Configuration
    # This gets around a configuration problem where we want field definition
    # to depend on configuration, but fields are defined before configuration.
    #
    
      def load
        unless Workarea.config.localized_active_fields
          ::Mongoid.models.each do |klass|
            if klass < Releasable
              klass.localized_fields.delete('active')
              klass.field(:active, type: Boolean, default: true, localize: false)
              klass.index(active: 1)
            end
          end