Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Dec 6, 2010
  1. Model.add() doesn't care about UIDs, localStorage persistence adapter…

    authored
    … does.
    
    Removes a sub-loop over the entire collection from Model.add().
  2. Model.map() method.

    authored
Commits on Oct 28, 2010
Commits on Oct 22, 2010
  1. Added configurable Model.unique_key, exposed as instance.id() and use…

    Ismael Celis and Oliver Nightingale authored committed
    …d in finders. Defaults to 'id'.
    
    * Use case: some storage engines use different field names as default keys, ie. Mongodb and CouchDB use '_id'
Commits on Oct 15, 2010
  1. Editing an object after it has been used as the starting attributes o…

    authored
    …f a model shouldn't affect the model's attributes.
Commits on Sep 28, 2010
  1. Add the ability to define a custom initialize instance method that is…

    authored
    … called at the end of the initialization process.
Commits on Sep 23, 2010
  1. @ismasan
  2. @ismasan

    Model.remove() triggers 'remove' with removed instance as argument. A…

    ismasan authored committed
    …lso added test to make sure custom class events can take optional data.
Commits on Sep 21, 2010
  1. @ismasan
Commits on Sep 15, 2010
  1. Remove .create and #update methods as they suggest that they act like…

    authored
    … ActiveRecord's .create and #update_attributes which is not quite the case - they don't trigger any calls on the persistence adapter.
  2. Rename Model.RestPersistence to Model.REST.

    authored
    Model.RestPersistence can still be used but will be removed in version 1.0.
Commits on Sep 10, 2010
  1. Add reverse class method.

    authored
Commits on Aug 23, 2010
Commits on Aug 18, 2010
  1. Fix test for Firefox.

    authored
Commits on Aug 17, 2010
  1. Merge branch 'localStorage'

    authored
Commits on Aug 13, 2010
Commits on Aug 12, 2010
  1. Refactor RestPersistence to take better advantage of jQuery.ajax data…

    authored
    … processing and handle Rails' blank string " " JSON responses at the jQuery.ajax level.
    
    Also, enable custom per-HTTP status code handlers to be defined.
Commits on Aug 10, 2010
  1. Test LocalStorage.read not Model.load, add test for interaction betwe…

    authored
    …en Model.load and persistence.read.
  2. Fix that a collection should not include duplicates when saving a mod…

    authored
    …el with no id multiple times.
Commits on Aug 9, 2010
Something went wrong with that request. Please try again.