lib/merb/orms/couchrest/connection.rb in mohiam-merb_couchrest-0.1.4 vs lib/merb/orms/couchrest/connection.rb in mohiam-merb_couchrest-0.1.6

- old
+ new

@@ -61,9 +61,12 @@ # if it is not valid database_connection.info() # set the default database ::CouchRest::Document.use_database( database_connection ) + + # also store this config ? + Merb::Config[:couchrest_default_database] = database_connection # we are done - return with the result return database_connection rescue RestClient::ResourceNotFound \ No newline at end of file