Skip to content

Commit

Permalink
Fixed typo in documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Sammaye committed Oct 4, 2013
1 parent 0573fda commit f39b3e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -838,7 +838,7 @@ Whereby it will try and pick out a alphanumeric `_id` of 24 characters in length

2.5.x of MongoYii adds the ability to version your documents.

If you are confused about versioning or how it can be benefical for some scenarios then a well explained, yet simple and easy to read [blog post can actually be found by the
If you are confused about versioning or how it can be beneficial for some scenarios then a well explained, yet simple and easy to read [blog post can actually be found by the
creators of MongoDB describing its addition to Mongoose](http://aaronheckmann.tumblr.com/post/48943525537/mongoose-v3-part-1-versioning).

To setup a versioned document you can simply create a model implementing `version()` which returns `true` and, optionally, `versionField()`:
Expand Down

0 comments on commit f39b3e1

Please sign in to comment.