   return true
 , "Name should be between 7 and 200 characters long"
 ModSchema.path("body").validate (value) ->
+  if not @published
+    return true
   if not value or value is ""
     return false
   if value.length < 50 or value.length > 2e5

  ###
  list: (options, cb) ->
    criteria = options.criteria or {}
    q = @find(criteria).sort(options.sort)
      .limit(options.perPage).populate("author", "username")
      .skip(options.perPage * options.page)

    id: Schema.Types.ObjectId
    date: Date
  ]
  published: Boolean
  comments: [
    author:
      type: Schema.Types.ObjectId
