From 631181ca18d2a21c3e72039b0c7f6c5a0b2fc05a Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Wed, 1 Mar 2006 16:01:53 +0000 Subject: Renamed the "oci" adapter to "oracle", but kept the old name as an alias (closes #4017) [schoenm@earthlink.net] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3718 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- .../test/connections/native_oracle/connection.rb | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 activerecord/test/connections/native_oracle/connection.rb (limited to 'activerecord/test/connections/native_oracle') diff --git a/activerecord/test/connections/native_oracle/connection.rb b/activerecord/test/connections/native_oracle/connection.rb new file mode 100644 index 0000000000..095fe9d5ee --- /dev/null +++ b/activerecord/test/connections/native_oracle/connection.rb @@ -0,0 +1,23 @@ +print "Using Oracle\n" +require_dependency 'fixtures/course' +require 'logger' + +ActiveRecord::Base.logger = Logger.new STDOUT +ActiveRecord::Base.logger.level = Logger::WARN + +# Set these to your database connection strings +db = 'activerecord_unit_tests' + +ActiveRecord::Base.establish_connection( + :adapter => 'oracle', + :username => 'arunit', + :password => 'arunit', + :database => db +) + +Course.establish_connection( + :adapter => 'oracle', + :username => 'arunit2', + :password => 'arunit2', + :database => db +) -- cgit v1.2.3