Permalink
Commits on Feb 2, 2012
  1. style

    aheckmann committed Feb 2, 2012
  2. docs;

    aheckmann committed Feb 2, 2012
  3. ocd + test

    closes #707
    closes #704
    aheckmann committed Feb 2, 2012
  4. ocd + test

    closes #700
    aheckmann committed Feb 2, 2012
  5. I found why I was getting my errors. So I added a nice description to…

    … it so that the rest of us newbees can see what they did wrong:
    
    throw new TypeError('Undefined type at `' + path + '`\nDid you try nesting Schemas? You can only nest them by using DBRefs or inside Arrays\n');
    obeleh committed with aheckmann Jan 29, 2012
  6. I was getting an error:

    TypeError: Invalid type `undefined`
        at Function.interpretAsType (/home/sjuul/node_modules/mongoose/lib/schema.js:223:8)
        at Schema.path (/home/sjuul/node_modules/mongoose/lib/schema.js:182:29)
        at Schema.add (/home/sjuul/node_modules/mongoose/lib/schema.js:118:12)
        at new Schema (/home/sjuul/node_modules/mongoose/lib/schema.js:39:10)
        at Object.<anonymous> (/home/sjuul/jsServer/schemas.js:10:23)
        at Module._compile (module.js:432:26)
        at Object..js (module.js:450:10)
        at Module.load (module.js:351:31)
        at Function._load (module.js:310:12)
        at Module.require (module.js:357:17)
    
    I wanted it to warn me where it came from.
    I'm still getting the error but at least this fixes the part where people wont know where it came from.
    obeleh committed with aheckmann Jan 29, 2012
  7. add mongoose-ttl to README

    aheckmann committed Feb 2, 2012
  8. more isSelected tests

    aheckmann committed Feb 2, 2012
Commits on Feb 1, 2012
  1. remove dead code

    aheckmann committed Feb 1, 2012
  2. shard tests use env var

    aheckmann committed Feb 1, 2012
  3. finish shard tests

    aheckmann committed Feb 1, 2012
  4. start of sharding support

    aheckmann committed Feb 1, 2012
Commits on Jan 31, 2012
  1. added; query#equals

    User.where("name").equals("Harry Potter");
    aheckmann committed Jan 31, 2012
  2. added; doc#isSelected(path)

    returns boolean, whether or not the path was included
    in the selected fields.
    aheckmann committed Jan 31, 2012
  3. minor refactor

    aheckmann committed Jan 31, 2012
Commits on Jan 30, 2012
  1. add schema!init test

    aheckmann committed Jan 30, 2012
  2. release 2.5.2

    aheckmann committed Jan 30, 2012
  3. array literals

    Resolved Conflicts:
    
    	lib/types/array.js
    aheckmann committed Jan 28, 2012
Commits on Jan 28, 2012
  1. rollback mongodb-native driver to 0.9.7-3-5

    was occasionally causing all connections to timeout.
    cause still unknown
    aheckmann committed Jan 28, 2012
  2. docs

    aheckmann committed Jan 28, 2012
  3. deprecate MongooseNumber

    aheckmann committed Jan 28, 2012
  4. emit an init event on schemas

    helpful for plugins
    aheckmann committed Jan 28, 2012
Commits on Jan 27, 2012
  1. release 2.5.1

    aheckmann committed Jan 27, 2012
  2. honor strict schemas in Model.update

    closes #699
    aheckmann committed Jan 27, 2012
  3. separate model.update tests

    aheckmann committed Jan 27, 2012
Commits on Jan 26, 2012
  1. travis node version

    aheckmann committed Jan 26, 2012
  2. space

    aheckmann committed Jan 26, 2012
  3. add .travis.yml

    aheckmann committed Jan 26, 2012
  4. fix history

    aheckmann committed Jan 26, 2012
  5. release 2.5.0

    aheckmann committed Jan 26, 2012
  6. ocd

    aheckmann committed Jan 26, 2012
  7. fix isNew on embedded docs

    closes #680
    aheckmann committed Jan 26, 2012
Commits on Jan 25, 2012
  1. Add failing test for embedded docs isNew:

    This test fails on line 539.
    
    Adding an embedded doc with the parent doc sets
    the isNew flag properly (see previous test case).
    However, if the embedded doc is added *after* the
    parent doc has already been created, the isNew
    flag is not set to false.
    wvl committed with aheckmann Jan 11, 2012