2007-01-22 14:43:50 +01:00
|
|
|
# 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
|
2008-06-02 08:35:38 +02:00
|
|
|
# tnsnames.ora service name, or a SQL connect url string of the form:
|
2007-01-22 14:43:50 +01:00
|
|
|
#
|
2007-02-09 09:04:31 +01:00
|
|
|
# //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 configation below; the defaults
|
|
|
|
# are equivalent to specifying:
|
|
|
|
#
|
|
|
|
# prefetch_rows: 100
|
|
|
|
# cursor_sharing: similar
|
|
|
|
#
|
2007-01-22 14:43:50 +01:00
|
|
|
|
|
|
|
development:
|
|
|
|
adapter: oracle
|
|
|
|
database: <%= app_name %>_development
|
|
|
|
username: <%= app_name %>
|
|
|
|
password:
|
|
|
|
|
2008-06-02 08:35:38 +02:00
|
|
|
# Warning: The database defined as "test" will be erased and
|
|
|
|
# re-generated from your development database when you run "rake".
|
2007-01-22 14:43:50 +01:00
|
|
|
# Do not set this db to the same as development or production.
|
|
|
|
test:
|
|
|
|
adapter: oracle
|
|
|
|
database: <%= app_name %>_test
|
|
|
|
username: <%= app_name %>
|
|
|
|
password:
|
|
|
|
|
|
|
|
production:
|
|
|
|
adapter: oracle
|
|
|
|
database: <%= app_name %>_production
|
|
|
|
username: <%= app_name %>
|
|
|
|
password:
|