s/localhost/127.0.0.1/

This commit is contained in:
Jan Lehnardt 2008-12-14 12:05:02 +01:00
parent 12c09085df
commit 7461e3fede
16 changed files with 46 additions and 46 deletions

View file

@ -5,10 +5,10 @@ require 'couchrest'
# use it to create a smaller dataset on which to prototype views.
# specify the source database
source = CouchRest.new("http://localhost:5984").database('source-db')
source = CouchRest.new("http://127.0.0.1:5984").database('source-db')
# specify the target database
target = CouchRest.new("http://localhost:5984").database('target-db')
target = CouchRest.new("http://127.0.0.1:5984").database('target-db')
# pager efficiently yields all view rows
pager = CouchRest::Pager.new(source)