Skip to content

Instantly share code, notes, and snippets.

@ilyabrin
Created July 14, 2015 12:25
Show Gist options
  • Select an option

  • Save ilyabrin/409c27ca2051ab563b58 to your computer and use it in GitHub Desktop.

Select an option

Save ilyabrin/409c27ca2051ab563b58 to your computer and use it in GitHub Desktop.
Example of Rail config
default: &default
adapter: postgresql
encoding: unicode
username: user
password: password
pool: 5
development:
<<: *default
database: some_database_development
test:
<<: *default
database: some_database_test
production:
<<: *default
database: some_database_production
username: real_user_name
password: <%= ENV['REAL_SUPER_USER_DATABASE_PASSWORD'] %>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment