lib/volt/models/persistors/array_store.rb
def added(model, index)
        if model.persistor
          # Tell the persistor it was added, return the promise
          model.persistor.add_to_collection
        end
      end
# When a model is added to this collection, we call its "changed"
# method.  This should trigger a save.
When a model is added to this collection, we call its "changed"
method.  This should trigger a save.
When a model is added to this collection we call its " changed " method . This should trigger a save .
def added(model, index)
        if model.persistor
          model.persistor.add_to_collection
        end
      end
def added ( model , index ) if model . persistor model . persistor . add_to_collection end end
When a model is added to this collection, we call its "changed"
method.
When a model is added to this collection we call its " changed " method .
# Tell the persistor it was added, return the promise
model
index