Permalink
Browse files

Edited README.md via GitHub

  • Loading branch information...
1 parent c7ee4b7 commit 098fa9897fb0ee6c6609e36a1d8942fd61a2bada Anatoliy Chakkaev committed Oct 6, 2011
Showing with 3 additions and 1 deletion.
  1. +3 −1 README.md
View
@@ -18,9 +18,10 @@ var Post = schema.define('Post', {
date: { type: Date, detault: Date.now },
published: { type: Boolean, default: false }
});
+// simplier way to describe model
var User = schema.define('User', {
name: String,
- bio: Text,
+ bio: Schema.Text,
approved: Boolean,
joinedAt: Date,
age: Number
@@ -118,6 +119,7 @@ If you have found a bug please write unit test, and make sure all other tests st
### Common:
++ transparent interface to APIs
+ validations
+ -before and -after hooks on save, update, destroy
+ default values

0 comments on commit 098fa98

Please sign in to comment.