couchrest_model/spec/fixtures/models/project.rb

7 lines
118 B
Ruby

class Project < CouchRest::Model::Base
use_database DB
property :name, String
timestamps!
view_by :name
end