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: lifeform.rb
    path of file: ./repos/mushroom-observer/app/models/name
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

module Name::Lifeform
  # When we `include` a module, the way to add class 
    
  def propagate_add_lifeform(lifeform)
    search_str = "% #{lifeform} %"
    concat_str = "#{lifeform} "
    name_ids = all_children.map(&:id)
    return unless name_ids.any?

    update_all_add_lifeform(name_ids, search_str, concat_str)
  end