Commit graph

59 commits

Author SHA1 Message Date
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
Matt Aimonetti
5aebd53a93 forgot to push the latest spec fixture 2009-02-02 14:56:17 -08:00
Jonathan S. Katz
e497fbbab4 Added basic specs for attachment CRUD 2009-01-12 21:06:48 -08:00
Chris Anderson
5111cdc78f cleanup gitignore for tmp 2009-01-08 22:20:53 -08:00
Chris Anderson
5d3e684c6a moved app template 2009-01-08 09:50:45 -08:00
Chris Anderson
2b7e49c9c6 put attachments 2008-09-30 17:22:54 -07:00
Chris Anderson
2ae79c51a1 cleanup rakefile business 2008-09-29 21:08:52 -07:00
Chris Anderson
baa2c1dd37 ignore spec fixtures 2008-09-16 11:16:27 -04:00
Chris Anderson
541a3cac74 brought file manager back in as a class 2008-08-02 00:03:54 -07:00