lib/volt/models/persistors/model_store.rb
# Called the first time a value is assigned into this model
Called the first time a value is assigned into this model
Called the first time a value is assigned into this model
def ensure_setup
        if @model.attributes
          @model.attributes[:_id] ||= generate_id
          add_to_identity_map
        end
      end
def ensure_setup if @model . attributes @model . attributes [ :_id ] ||= generate_id add_to_identity_map end end
Called the first time a value is assigned into this model
Called the first time a value is assigned into this model