Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Missing an important comma #1

Merged
merged 1 commit into from

2 participants

@tedkulp

No description provided.

@nicholasconfer

Thanks, good catch.

@nicholasconfer nicholasconfer merged commit f26429c into nicholasconfer:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Mar 29, 2013
  1. @tedkulp

    Missing an important comma

    tedkulp authored
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  README.md
View
2  README.md
@@ -27,7 +27,7 @@ example = mongoose.model "Example", ExampleSchema
```
If you'd like to change the name of the key properties in your document just set them when calling the plugin method with the `created` and `lastUpdated` options
```
-ExampleSchema.plugin timestamps { created: "created_at", lastUpdated: "updated_at" }
+ExampleSchema.plugin timestamps, { created: "created_at", lastUpdated: "updated_at" }
```
### JavaScript Example
Something went wrong with that request. Please try again.