# File lib/mongo_mapper/plugins/document.rb, line 21
      def reload
        if doc = collection.find_one(:_id => id)
          self.class.associations.each_value do |association|
            get_proxy(association).reset
          end
          instance_variables.each { |ivar| remove_instance_variable(ivar) }
          initialize_from_database(doc)
          self
        else
          raise DocumentNotFound, "Document match #{_id.inspect} does not exist in #{collection.name} collection"
        end
      end