Skip to content


Subversion checkout URL

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

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

Commits on Oct 28, 2010
Commits on Oct 22, 2010
  1. Added configurable Model.unique_key, exposed as 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…

    …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…

    … 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…

    … 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.

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

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

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

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

    … 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 not Model.load, add test for interaction betwe…

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

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