Permalink
Commits on Aug 2, 2012
  1. Merge pull request #165 from DouweM/fix-store-collections

    Fix bug causing wrong store collection to be created for models with a superModel.
    committed Aug 2, 2012
Commits on Jul 13, 2012
Commits on Jul 3, 2012
  1. Merge pull request #155 from awirick/patch-1

    Comment reflected 'relatedModel', when 'model' is being checked.
    committed Jul 3, 2012
  2. Merge pull request #132 from ClemensSchneider/bug_collection_add_index

    fixed bug where indexes were all the same when adding models to collection
    committed Jul 3, 2012
Commits on Jun 29, 2012
  1. Comment reflected 'relatedModel', when 'model' is being checked in th…

    …e accompanying if statement.
    awirick committed Jun 29, 2012
Commits on Jun 25, 2012
Commits on Jun 21, 2012
Commits on Jun 19, 2012
  1. Merge pull request #134 from driverdan/82f98291741f0dbe99300afe92e956…

    …154af8cd9b
    
    Remove unnecessary options object duplication
    committed Jun 19, 2012
  2. Add `Backbone.Relational.store.addModelScope` to add `scopes` to the …

    …model search path. Fixes #57, #127
    committed Jun 19, 2012
Commits on May 25, 2012
  1. Merge pull request #124 from ClemensSchneider/includeInJSON_Array

    Support including more than one field when serializing.
    
    `includeInJSON` can now also take an array, which specifies the fields
    that should be included when executing `toJSON`.
    committed May 25, 2012
  2. Merge pull request #117 from achur/replace

    Add option to guarantee `fetchRelated` hits the server.
    committed May 25, 2012
Commits on May 22, 2012
  1. fixed bug where indexes were all the same when adding models to

    collection
    
    - happens because 'add' events are added to the relational event queue,
    passing the arguments (including options) as reference.. the index, at
    which a model was added is then changed for every call to trigger('add')
    so that when the event queue is finally run, options.index does only
    reflect the last change to the index and not the index the model was
    originally added at...
    Clemens-PANDA committed May 22, 2012
Commits on May 18, 2012
  1. Add option to guarantee fetchRelated hits server

    Add an optional third parameter to fetchRelated, replace, which
    when true guarantees that fetchRelated will actually get the latest
    resources from the server and update the Backbone.Relational.store
    accordingly.
    achur committed May 2, 2012
  2. remove: iterate over a copy of the incoming models, to avoid stopping…

    … iteration early. Closes #122.
    committed May 18, 2012
Commits on May 16, 2012
Commits on Apr 23, 2012
  1. Merge pull request #107 from DouweM/reset-event-on-sort

    Fire `relational:reset` and thus `related:reset` events on-sort.
    committed Apr 23, 2012
  2. Merge pull request #105 from DouweM/toJSON-for-null

    NOT BACKWARDS-COMPATIBLE: Serialize `null` relations as `null` in #toJSON().
    committed Apr 23, 2012
Commits on Apr 20, 2012
  1. Update README.

    DouweM committed Apr 20, 2012
  2. Add Backbone.RelationalModel.setup() method that can be called manual…

    …ly to set up a Backbone.RelationalModel subclass after defining one without using .extend().
    DouweM committed Apr 20, 2012
  3. Clean up code some more.

    DouweM committed Apr 20, 2012
  4. Merge branch 'master' of git://github.com/PaulUithol/Backbone-relatio…

    …nal into new-submodels
    DouweM committed Apr 20, 2012
  5. Slight fix in README.

    DouweM committed Apr 20, 2012
  6. Clean up code slightly.

    DouweM committed Apr 20, 2012