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