MongoMapper::TokenKeys is a simple way to add autogenerated URL-safe tokens to MongoMapper models.