couchrest_model/lib/couchrest
Matt Aimonetti dfdcd79a58 Started added a validation mixin
Usage:
  class Invoice < CouchRest::ExtendedDocument
    include CouchRest::Validation

    property :client_name
    property :employee_name
    property :location

    # Validation
    validates_present :client_name, :employee_name
    validates_present :location, :message => "Hey stupid!, you forgot the location"

  end
2009-02-02 19:21:32 -08:00
..
commands change it to !include 2009-01-02 01:59:33 -08:00
core moved stuff around and cleaned up some deprecation notices [save/save_doc] 2009-02-02 16:10:07 -08:00
helper move some couchapp components to couchapp project 2009-01-08 16:48:11 -08:00
mixins Started added a validation mixin 2009-02-02 19:21:32 -08:00
more renamed the ExtendedViews mixin 2009-02-02 16:16:14 -08:00
validation Started added a validation mixin 2009-02-02 19:21:32 -08:00
mixins.rb moved stuff around and cleaned up some deprecation notices [save/save_doc] 2009-02-02 16:10:07 -08:00
monkeypatches.rb added some monkey patches to improve the http connection speed. (by keeping the http connection open) 2009-02-02 14:50:30 -08:00