Sha256: a9986cbe562a1bc21162ac0c10c70ed0b64a0d9b6e0565266bfceb3accf28a8d

Contents?: true

Size: 139 Bytes

Versions: 10

Compression:

Stored size: 139 Bytes

Contents

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

  design do
    view :by_name
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
couchrest_model-2.1.0.rc1 spec/fixtures/models/project.rb
couchrest_model-2.1.0.beta2 spec/fixtures/models/project.rb
couchrest_model-2.1.0.beta1 spec/fixtures/models/project.rb
couchrest_model-2.0.4 spec/fixtures/models/project.rb
couchrest_model-2.0.3 spec/fixtures/models/project.rb
couchrest_model-2.0.1 spec/fixtures/models/project.rb
couchrest_model-2.0.0 spec/fixtures/models/project.rb
couchrest_model-2.0.0.beta2 spec/fixtures/models/project.rb
couchrest_model-2.0.0.beta spec/fixtures/models/project.rb
couchrest_model-1.2.0.beta spec/fixtures/models/project.rb