Skip to content

Commit

Permalink
tweaked server connection.
Browse files Browse the repository at this point in the history
  • Loading branch information
FRickReich committed Sep 20, 2011
1 parent 6dcc39d commit aad3db9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion weaky.rb
Expand Up @@ -5,7 +5,7 @@
require 'haml'
require 'sass'

$weaky = CouchRest.database!('http://localhost:5984/weaky')
$weaky = CouchRest.database!("http://#{ARGV[0].to_s.gsub("http://","")}")

class Item < CouchRest::ExtendedDocument
use_database $weaky
Expand Down

0 comments on commit aad3db9

Please sign in to comment.