Sha256: e4ad47dfb0268faefa26cff41a926a98e7a550f0b003151a105d0acf41cdec61

Contents?: true

Size: 530 Bytes

Versions: 29

Compression:

Stored size: 530 Bytes

Contents

print "Using native Oracle\n"
require 'fileutils'
require 'logger'
require 'adapter_helper/oracle'

log_path = File.expand_path(File.join(File.dirname(__FILE__), %w[.. .. .. log]))
FileUtils.mkdir_p log_path
puts "Logging to #{log_path}/debug.log"
ActiveRecord::Base.logger = Logger.new("#{log_path}/debug.log")

# Adapter config setup in locals/database_connections.rb
connection_options = AdapterHelper::Oracle.load_connection_from_env
puts connection_options.inspect
ActiveRecord::Base.establish_connection(connection_options)

Version data entries

29 entries across 29 versions & 5 rubygems

Version Path
kovyrin-composite_primary_keys-2.3.2 test/connections/native_oracle/connection.rb
mingusbabcock-composite_primary_keys-2.2.2.1 test/connections/native_oracle/connection.rb
tyler-composite_primary_keys-1.1.0 test/connections/native_oracle/connection.rb
tyler-composite_primary_keys-1.1.1 test/connections/native_oracle/connection.rb
tyler-composite_primary_keys-1.1.2 test/connections/native_oracle/connection.rb
tyler-composite_primary_keys-1.1.3 test/connections/native_oracle/connection.rb
tyler-composite_primary_keys-1.1.4 test/connections/native_oracle/connection.rb
globe-composite_primary_keys-3.0.1 test/connections/native_oracle/connection.rb
composite_primary_keys-2.3.5.1 test/connections/native_oracle/connection.rb
composite_primary_keys-2.3.5 test/connections/native_oracle/connection.rb
composite_primary_keys-2.3.2 test/connections/native_oracle/connection.rb
composite_primary_keys-0.9.93 test/connections/native_oracle/connection.rb
composite_primary_keys-1.0.2 test/connections/native_oracle/connection.rb
composite_primary_keys-1.0.3 test/connections/native_oracle/connection.rb
composite_primary_keys-0.9.90 test/connections/native_oracle/connection.rb
composite_primary_keys-0.9.91 test/connections/native_oracle/connection.rb
composite_primary_keys-0.9.92 test/connections/native_oracle/connection.rb
composite_primary_keys-1.0.0 test/connections/native_oracle/connection.rb
composite_primary_keys-1.0.1 test/connections/native_oracle/connection.rb
composite_primary_keys-1.0.10 test/connections/native_oracle/connection.rb