fix broken CouchRest.database! method
This commit is contained in:
parent
742f245889
commit
40f22ffadc
|
@ -35,7 +35,7 @@ class CouchRest
|
||||||
|
|
||||||
# creates the database if it doesn't exist
|
# creates the database if it doesn't exist
|
||||||
def database! name
|
def database! name
|
||||||
create_db(path) rescue nil
|
create_db(name) rescue nil
|
||||||
database name
|
database name
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue