5
ho il mio file di configurazione YAML mongo.yml
:Usa Yaml per MongoMapper Config
development:
adapter: mongodb
database: fhsclock_development
host: localhost
port: nil
test:
adapter: mongodb
database: fhsclock_test
host: localhost
port: nil
production:
adapter: mongodb
database: fhsclock
hosts:
- - localhost
- nil
- - staff.mongohq.com
- 10015
Come posso utilizzare questo file per la configurazione e la connessione con MongoMapper?
(vedi risposta Edited) –