Commit graph

64 commits

Author SHA1 Message Date
Matt Aimonetti 80317f31a5 fixed the uuid count for the latest version of couchdb
also avoided CONSTANTS warnings, cleaned up the attachment specs, added missing fixtures
2009-02-25 00:22:11 -08:00
Matt Aimonetti c0abafd1e0 fixed a major bug with inheritance and the class database setup. (plus some validation bugs) 2009-02-10 16:10:35 -08:00
Matt Aimonetti e448112ff6 fixed some serious issues but left some for tomorrow (validations aren't working right) 2009-02-10 02:15:39 -08:00
Matt Aimonetti 890b60cae4 added autovalidation (auto_validate! in your ExtendedDocument) and extracted some extlib stuff so we will soon be able to remove the dependency. 2009-02-05 17:06:12 -08:00
Matt Aimonetti fec21c3ff3 got rid of extlib hooking system in favor of the new Rails3 callback system. As well as fixed timestamps! in ExtendedDoc 2009-02-03 17:33:31 -08:00
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