couchrest_model/spec/fixtures/more/person.rb
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

8 lines
114 B
Ruby

class Person < Hash
include ::CouchRest::CastedModel
property :name
def last_name
name.last
end
end