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
|
||||
def database! name
|
||||
create_db(path) rescue nil
|
||||
create_db(name) rescue nil
|
||||
database name
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue