Guest User

Untitled

a guest
Feb 20th, 2018
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. COUCHDB_CONFIG = Erubis.load_yaml_file(Merb.root / "config" / "couchdb.yml")[Merb.environment]
  2. COUCH = CouchRest.database!(COUCHDB_CONFIG[:url])
  3. CouchRest::Model.default_database = COUCH
Add Comment
Please, Sign In to add comment