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: permission_test.rb
    path of file: ./repos/arvados/services/api/test/performance
    
    the code of the file until where you have to start completion: # Copyright (C) The Arvados Authors. All rights res
    
def create_eight parent
  uuids = []
  values = []
  (0..8).each do
    uuid = Group.generate_uuid
    values.push "('#{uuid}', '#{parent}', now(), now(), '#{uuid}')"
    uuids.push uuid
  end
  ActiveRecord::Base.connection.execute("INSERT INTO groups (uuid, owner_uuid, created_at, updated_at, name) VALUES #{values.join ','}")
  uuids
end