Sha256: 8223248fc544294dcf7d84edcb7c5e551ee0f8498ffddda524cd3559d4fa88a4

Contents?: true

Size: 389 Bytes

Versions: 9

Compression:

Stored size: 389 Bytes

Contents

class DesignModel < CouchRest::Model::Base
  use_database DB
  property :name
end

class DesignsModel < CouchRest::Model::Base
  use_database DB
  property :name
end


class DesignsNoAutoUpdate < CouchRest::Model::Base
  use_database DB
  property :title, String
  design do
    disable_auto_update
    view :by_title_fail, :by => ['title']
    view :by_title, :reduce => true
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
couchrest_model-2.2.0.beta2 spec/fixtures/models/designs.rb
couchrest_model-2.2.0.beta1 spec/fixtures/models/designs.rb
couchrest_model-2.1.0.rc1 spec/fixtures/models/designs.rb
couchrest_model-2.1.0.beta2 spec/fixtures/models/designs.rb
couchrest_model-2.1.0.beta1 spec/fixtures/models/designs.rb
couchrest_model-2.0.4 spec/fixtures/models/designs.rb
couchrest_model-2.0.3 spec/fixtures/models/designs.rb
couchrest_model-2.0.1 spec/fixtures/models/designs.rb
couchrest_model-2.0.0 spec/fixtures/models/designs.rb