Skip to content

Instantly share code, notes, and snippets.

@Winslett
Last active December 14, 2015 01:59
Show Gist options
  • Save Winslett/5010481 to your computer and use it in GitHub Desktop.
Save Winslett/5010481 to your computer and use it in GitHub Desktop.
Mongoid Sample
production:
sessions:
default:
uri: mongodb://<username>:<password>@<host>:<port>/<database_name>
options:
skip_version_check: true
consistency: :strong
safe: true
max_retries: 30
retry_interval: 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment