Skip to content

Instantly share code, notes, and snippets.

@rujmah
Forked from jasonmccay/gist:1145512
Created May 21, 2012 09:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rujmah/2761591 to your computer and use it in GitHub Desktop.
Save rujmah/2761591 to your computer and use it in GitHub Desktop.
mongoid config
defaults: &defaults
autocreate_indexes: true
max_retries_on_connection_failure: 3
allow_dynamic_fields: false
development:
host: localhost
database: taq_development
test:
host: localhost
database: taq_testing
enable_logging: false
production:
hosts:
- - hurley.member0.mongohq.com
- <port_number>
- - hurley.member1.mongohq.com
- <port_number>
read_secondary: true
username:
password:
database:
enable_logging: false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment