Permalink
Commits on Feb 2, 2012
  1. release 2.5.3

    aheckmann committed Feb 2, 2012
  2. subtle test warnings

    aheckmann committed Feb 2, 2012
  3. docs

    aheckmann committed Feb 2, 2012
  4. use a getter

    aheckmann committed Feb 2, 2012
  5. style

    aheckmann committed Feb 2, 2012
  6. docs;

    aheckmann committed Feb 2, 2012
  7. ocd + test

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

    closes #700
    aheckmann committed Feb 2, 2012
  9. 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
  10. 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
  11. add mongoose-ttl to README

    aheckmann committed Feb 2, 2012
  12. 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