Skip to content

Commit

Permalink
website; fix links to posterous
Browse files Browse the repository at this point in the history
  • Loading branch information
aheckmann committed May 7, 2013
1 parent be46823 commit 1e2f5bc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions docs/guide.jade
Expand Up @@ -446,7 +446,7 @@ block content

h4#versionKey option: versionKey
:markdown
The `versionKey` is a property set on each document when first created by Mongoose. This keys value contains the internal [revision](http://aaronheckmann.posterous.com/mongoose-v3-part-1-versioning) of the document. The name of this document property is configurable. The default is `__v`. If this conflicts with your application you can configure as such:
The `versionKey` is a property set on each document when first created by Mongoose. This keys value contains the internal [revision](http://aaronheckmann.tumblr.com/post/48943525537/mongoose-v3-part-1-versioning) of the document. The name of this document property is configurable. The default is `__v`. If this conflicts with your application you can configure as such:
:js
var schema = new Schema({ name: 'string' });
var Thing = mongoose.model('Thing', schema);
Expand All @@ -460,7 +460,7 @@ block content
thing.save(); // { _somethingElse: 0, name: 'mongoose v3' }

:markdown
Document versioning can also be disabled by setting the `versionKey` to false. _DO NOT disable versioning unless you [know what you are doing](http://aaronheckmann.posterous.com/mongoose-v3-part-1-versioning)._
Document versioning can also be disabled by setting the `versionKey` to false. _DO NOT disable versioning unless you [know what you are doing](http://aaronheckmann.tumblr.com/post/48943525537/mongoose-v3-part-1-versioning)._
:js
new Schema({..}, { versionKey: false });
var Thing = mongoose.model('Thing', schema);
Expand Down
8 changes: 4 additions & 4 deletions docs/migration.jade
Expand Up @@ -271,12 +271,12 @@ block content

h3#version Versioning
:markdown
Documents are now transparently versioned. Read the in depth details [here](http://aaronheckmann.posterous.com/tag/versioning).
Documents are now transparently versioned. Read the in depth details [here](http://aaronheckmann.tumblr.com/post/48943525537/mongoose-v3-part-1-versioning).

h3#moreinfo More Info
:markdown
Related blog posts:

- [Mongoose v3 released](http://aaronheckmann.posterous.com/mongoose-v3-released)
- [API changes](http://aaronheckmann.posterous.com/mongoose-v3-part-3-api-changes)
- [FindAndModify](http://aaronheckmann.posterous.com/mongoose-v3-part-2-findandmodify)
- [Mongoose v3 released](http://aaronheckmann.tumblr.com/post/48943522971/mongoose-v3-released)
- [API changes](http://aaronheckmann.tumblr.com/post/48943523915/mongoose-v3-part-3-api-changes)
- [FindAndModify](http://aaronheckmann.tumblr.com/post/48943524629/mongoose-v3-part-2-findandmodify)

0 comments on commit 1e2f5bc

Please sign in to comment.