aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorRaimonds Simanovskis <raimonds.simanovskis@gmail.com>2009-05-02 20:11:19 +0300
committerRaimonds Simanovskis <raimonds.simanovskis@gmail.com>2009-08-06 23:41:00 +0300
commit94e761551b884604b01b43de3da2c873715e9b4b (patch)
tree6216838531557e409dcc113f73bb36bf1b440630 /activerecord
parent8afab34a7699abe5c4eed552815276df01510370 (diff)
downloadrails-94e761551b884604b01b43de3da2c873715e9b4b.tar.gz
rails-94e761551b884604b01b43de3da2c873715e9b4b.tar.bz2
rails-94e761551b884604b01b43de3da2c873715e9b4b.zip
changed default connection to localhost orcl database
Diffstat (limited to 'activerecord')
-rw-r--r--activerecord/test/connections/native_oracle/connection.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/activerecord/test/connections/native_oracle/connection.rb b/activerecord/test/connections/native_oracle/connection.rb
index 01d86aba93..23e9f8f9c6 100644
--- a/activerecord/test/connections/native_oracle/connection.rb
+++ b/activerecord/test/connections/native_oracle/connection.rb
@@ -13,13 +13,13 @@ require 'logger'
ActiveRecord::Base.logger = Logger.new("debug.log")
# Set these to your database connection strings
-db = ENV['ARUNIT_DB_NAME'] = 'XE'
+db = ENV['ARUNIT_DB_NAME'] = 'orcl'
ActiveRecord::Base.configurations = {
'arunit' => {
:adapter => 'oracle_enhanced',
:database => db,
- :host => "arunit", # used just by JRuby to construct JDBC connect string
+ :host => "localhost", # used just by JRuby to construct JDBC connect string
:username => 'arunit',
:password => 'arunit',
:emulate_oracle_adapter => true
@@ -27,7 +27,7 @@ ActiveRecord::Base.configurations = {
'arunit2' => {
:adapter => 'oracle_enhanced',
:database => db,
- :host => "arunit", # used just by JRuby to construct JDBC connect string
+ :host => "localhost", # used just by JRuby to construct JDBC connect string
:username => 'arunit2',
:password => 'arunit2',
:emulate_oracle_adapter => true