fix broken CouchRest.database! method

This commit is contained in:
Chris Anderson 2008-09-11 20:48:17 -07:00
parent 742f245889
commit 40f22ffadc

View file

@ -35,7 +35,7 @@ class CouchRest
# creates the database if it doesn't exist
def database! name
create_db(path) rescue nil
create_db(name) rescue nil
database name
end