Module CouchRest::Model::Connection::ClassMethods
In: lib/couchrest/model/connection.rb

Methods

Public Instance methods

Overwrite the default database method so that it always provides something from the configuration. It will try to inherit the database from an ancester unless the use_database method has been used, in which case a new connection will be started.

Overwrite the normal use_database method so that a database name can be provided instead of a full connection. The actual database will be validated when it is requested for use. Note that this should not be used with proxied models!

Protected Instance methods

[Validate]