Skip to content

Instantly share code, notes, and snippets.

@clifton
Created March 5, 2012 20:23
Show Gist options
  • Save clifton/1980870 to your computer and use it in GitHub Desktop.
Save clifton/1980870 to your computer and use it in GitHub Desktop.
shared: &defaults
adapter: mysql<%= "2" if Rails.version.first == "3" %>
# XXX: investigate reconnect setting for rails 3
# reconnect: true
database: orgsync_dev
host: localhost
username: root
password:
development:
<<: *defaults
production:
<<: *defaults
staging:
<<: *defaults
test:
<<: *defaults
database: orgsync_testing
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment