Commits on Nov 22, 2011
  1. Bump version

    committed Nov 22, 2011
  2. Add factory to create instances of models easily

    Add callback to constructor so passing an id to load makes sense. (like new User(123, function (err) { /*...*/ });
    committed Nov 22, 2011
Commits on Nov 15, 2011
Commits on Nov 14, 2011
Commits on Nov 13, 2011
  1. Simplified simple property tests

    Fixed trim() in notEmpty validator to only be applied on strings.
    committed Nov 13, 2011
Commits on Nov 9, 2011
  1. Added alhpanumeric validation

    Fixed notEmpty validation to trim strings before checking
    committed Nov 9, 2011
Commits on Oct 3, 2011
  1. @yuchi
  2. @yuchi

    Supported unique ids

    yuchi committed with Oct 2, 2011
Commits on Sep 18, 2011
  1. Bump version

    committed Sep 18, 2011
  2. Change id generation per default to unique ids (BREAKS BACKWARDS COMP…

    …ATIBILITY)
    
    You can use the 'increment' idGenerator to keep the old incremental behaviour or provide your own function
    committed Sep 18, 2011
  3. simplify temporary id generation

    committed Sep 18, 2011
Commits on Sep 12, 2011
  1. @yuchi

    forgot var

    yuchi committed with Sep 12, 2011
  2. @yuchi

    Silly type

    yuchi committed with Sep 12, 2011
  3. @yuchi
Commits on Aug 29, 2011
  1. @index0h
Commits on Aug 28, 2011
  1. Merge pull request #21 from index0h/master

    Dynamic validators list - Thanks index0h
    committed Aug 28, 2011
Commits on Jul 18, 2011
Commits on May 31, 2011
  1. Fix allProperties() to use this.p() internally instead of reading the…

    … internal value
    
    Add properties as second argument to .load() callback: load(id, function (err, properties){});
    committed May 31, 2011
Commits on May 21, 2011
  1. Fix markup of HISTORY.md

    committed May 21, 2011
Commits on May 19, 2011
Commits on May 18, 2011
  1. Edited HISTORY.md via GitHub

    committed May 18, 2011
  2. Bump version to v0.5

    committed May 18, 2011
  3. Rename "value" to defaultValue" to make it more clear what it is. Clo…

    …ses #13. (THIS BREAKS BACKWARDS COMPATIBILITY WITH MODELS)
    
    Some other small fixes
    committed May 18, 2011
Commits on Apr 30, 2011
  1. Fix ids not being reset to null on save if the object is created and …

    …fails
    
    Implement two more arguments to the save callback: childFail and childFailName. Closes #9
    committed Apr 30, 2011
  2. Rename has to belongsTo. closes #8

    committed Apr 30, 2011
  3. Add ability to search for exact numeric (using the normal indexes whi…

    …ch should be a lot faster). closes #12
    committed Apr 30, 2011