Skip to content

Instantly share code, notes, and snippets.

@eugenio-oliveira
Created July 9, 2014 22:45
Show Gist options
  • Save eugenio-oliveira/fe6850ac6920253d79a7 to your computer and use it in GitHub Desktop.
Save eugenio-oliveira/fe6850ac6920253d79a7 to your computer and use it in GitHub Desktop.
meu database.yml
# Oracle/OCI 8i, 9, 10g
#
# Requires Ruby/OCI8:
# http://rubyforge.org/projects/ruby-oci8/
#
# Specify your database using any valid connection syntax, such as a
# tnsnames.ora service name, or an SQL connect string of the form:
#
# //host:[port][/service name]
#
# By default prefetch_rows (OCI_ATTR_PREFETCH_ROWS) is set to 100. And
# until true bind variables are supported, cursor_sharing is set by default
# to 'similar'. Both can be changed in the configuration below; the defaults
# are equivalent to specifying:
#
# prefetch_rows: 100
# cursor_sharing: similar
#
development:
adapter: oracle
database: XE
username: root
password: root
# Warning: The database defined as "test" will be erased and
# re-generated from your development database when you run "rake".
# Do not set this db to the same as development or production.
test:
adapter: oracle
database: XE
username: root
password: root
production:
adapter: oracle
database: oracleapp_production
username: oracleapp
password:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment