Module CouchRest
In: lib/couchrest/commands/generate.rb
lib/couchrest/commands/push.rb
lib/couchrest/core/database.rb
lib/couchrest/core/design.rb
lib/couchrest/core/document.rb
lib/couchrest/core/response.rb
lib/couchrest/core/server.rb
lib/couchrest/core/view.rb
lib/couchrest/helper/pager.rb
lib/couchrest/helper/streamer.rb
lib/couchrest/helper/upgrade.rb
lib/couchrest/mixins/attachments.rb
lib/couchrest/mixins/callbacks.rb
lib/couchrest/mixins/class_proxy.rb
lib/couchrest/mixins/design_doc.rb
lib/couchrest/mixins/document_queries.rb
lib/couchrest/mixins/extended_attachments.rb
lib/couchrest/mixins/properties.rb
lib/couchrest/mixins/validation.rb
lib/couchrest/mixins/views.rb
lib/couchrest/more/casted_model.rb
lib/couchrest/more/extended_document.rb
lib/couchrest/more/property.rb
lib/couchrest/validation/auto_validate.rb
lib/couchrest/validation/contextual_validators.rb
lib/couchrest/validation/validation_errors.rb
lib/couchrest/validation/validators/absent_field_validator.rb
lib/couchrest/validation/validators/confirmation_validator.rb
lib/couchrest/validation/validators/format_validator.rb
lib/couchrest/validation/validators/formats/email.rb
lib/couchrest/validation/validators/formats/url.rb
lib/couchrest/validation/validators/generic_validator.rb
lib/couchrest/validation/validators/length_validator.rb
lib/couchrest/validation/validators/method_validator.rb
lib/couchrest/validation/validators/numeric_validator.rb
lib/couchrest/validation/validators/required_field_validator.rb
lib/couchrest.rb

CouchDB, close to the metal

Methods

constantize   copy   database   database!   delete   get   humanize   new   paramify_url   parse   post   proxy   put  

Classes and Modules

Module CouchRest::Callbacks
Module CouchRest::CastedModel
Module CouchRest::Commands
Module CouchRest::Mixins
Module CouchRest::Validation
Class CouchRest::Database
Class CouchRest::Design
Class CouchRest::Document
Class CouchRest::ExtendedDocument
Class CouchRest::Pager
Class CouchRest::Property
Class CouchRest::Response
Class CouchRest::Server
Class CouchRest::Streamer
Class CouchRest::Upgrade
Class CouchRest::View

Constants

VERSION = '0.23' unless self.const_defined?("VERSION")

Public Class methods

extracted from Extlib

Constantize tries to find a declared constant with the name specified in the string. It raises a NameError when the name is not in CamelCase or is not initialized.

@example "Module".constantize #=> Module "Class".constantize #=> Class

ensure that a database exists creates it if it isn‘t already there returns it after it‘s been created

extracted from Extlib

Capitalizes the first word and turns underscores into spaces and strips _id. Like titleize, this is meant for creating pretty output.

@example

  "employee_salary" #=> "Employee salary"
  "author_id" #=> "Author"

todo, make this parse the url and instantiate a Server or Database instance depending on the specificity.

[Validate]