 class @TinyModel
   @collection: undefined
+  @validators: []
   errors: []
     
   # Intialize the model.

  @toString: ->
    @collection._name
    
  # Taken from - 
  # https://coffeescript-cookbook.github.io/chapters/classes_and_objects/cloning
  # 
  # Clone a model

    obj.updatedAt  = doc.updatedAt
    obj
    
  @validates: (field, validations) ->
    for validator, condition of validations
      switch validator
        when 'presence'
          @validators.push new PresenceValidator(field, condition)
        when 'length'
          @validators.push new LengthValidator(field, condition)
    
  # Find all documents that match the selector.
  #
  # selector - selection criteria
