Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.ruby > #4170

Re: Need some starter help with CouchPotato

From 7stud -- <bbxx789_05ss@yahoo.com>
Newsgroups comp.lang.ruby
Subject Re: Need some starter help with CouchPotato
Date 2011-05-09 14:22 -0500
Organization Service de news de lacave.net
Message-ID <0807812a42fd7c855bfa69c38a86d3a7@ruby-forum.com> (permalink)
References <57470d14b061b2ee24015340c790991c@ruby-forum.com>

Show all headers | View raw


Oren Shani wrote in post #997581:
>
> CouchPotato::Config.database_name = "hangman"
> CouchPotato::Config.database_server =
> "https://user:password@orenshani.cloudant.com:5984"
>

According to the README.md file here:

https://github.com/langalex/couch_potato/blob/master/README.md

..you are supposed to use the database_name=() method to set the url:

CouchPotato::Config.database_name = 
"http://username:password@example.com:5984/name_of_the_db"

-- 
Posted via http://www.ruby-forum.com/.

Back to comp.lang.ruby | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Need some starter help with CouchPotato Oren Shani <orenshani7@gmail.com> - 2011-05-09 11:02 -0500
  Re: Need some starter help with CouchPotato 7stud -- <bbxx789_05ss@yahoo.com> - 2011-05-09 14:22 -0500
  Re: Need some starter help with CouchPotato Brian Candler <b.candler@pobox.com> - 2011-05-10 02:18 -0500
  Re: Need some starter help with CouchPotato Oren Shani <orenshani7@gmail.com> - 2011-05-13 08:46 -0500

csiph-web