Sha256: 3f04b4d7c7586f6033694536d025d521a1928fbc0cf430f4707e7d365df7664d

Contents?: true

Size: 533 Bytes

Versions: 4

Compression:

Stored size: 533 Bytes

Contents

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 = ENV['ARUNIT_DB'] || 'activerecord_unittest'

ActiveRecord::Base.establish_connection(
  :adapter  => 'oracle',
  :username => 'arunit',
  :password => 'arunit',
  :database => db
)

Course.establish_connection(
  :adapter  => 'oracle',
  :username => 'arunit2',
  :password => 'arunit2',
  :database => db
)

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
activerecord-1.14.3 test/connections/native_oracle/connection.rb
activerecord-1.14.1 test/connections/native_oracle/connection.rb
activerecord-1.14.2 test/connections/native_oracle/connection.rb
activerecord-1.14.4 test/connections/native_oracle/connection.rb