Skip to content
mattmatt edited this page Sep 13, 2010 · 4 revisions

FAQ

how do I enable logging?

For now here’s a hack by mattmatt to enable logging in Rails: http://gist.github.com/272912

How do I tell Couch Potato to use http authentication?

Instead of using the default CouchPotato.database you have to create your own database instance like this:


# define the CouchDB server through CouchRest
CouchServer = CouchRest::Server.new "http://<user>:<password>@<account>.couch.io"

# create the CouchRest database
CouchRestDB = CouchRest::Database.new CouchServer, "<database>"

# use that with CouchPotato
CouchDB = CouchPotato::Database.new(CouchRestDB)