Mongo.Collection.add_id

You're seeing just the function add_id, go back to Mongo.Collection module for more information.

Inserts the specified @id_generator to the list of attributes.