lib/volt/models/persistors/model_store.rb
# Create a random unique id that can be used as the mongo id as well
Create a random unique id that can be used as the mongo id as well
Create a random unique id that can be used as the mongo id as well
def generate_id
      id = []
      24.times { id << ID_CHARS.sample }
      return id.join
    end
def generate_id id = [ ] 24 . times { id << ID_CHARS . sample } return id . join end
Create a random unique id that can be used as the mongo id as well
Create a random unique id that can be used as the mongo id as well