Sha256: 7007e950f9532226142b01ba7ffd39ec640b971acde70cabddddbca06ea3287b
Contents?: true
Size: 593 Bytes
Versions: 37
Compression:
Stored size: 593 Bytes
Contents
print "Using IBM2 \n" require 'logger' gem 'ibm_db' require 'IBM_DB' RAILS_CONNECTION_ADAPTERS = %w( mysql postgresql sqlite firebird sqlserver db2 oracle sybase openbase frontbase ibm_db ) ActiveRecord::Base.logger = Logger.new("debug.log") db1 = 'composite_primary_keys_unittest' connection_options = { :adapter => "ibm_db", :database => "ocdpdev", :username => "db2inst1", :password => "password", :host => '192.168.2.21' } ActiveRecord::Base.configurations = { db1 => connection_options } ActiveRecord::Base.establish_connection(connection_options)
Version data entries
37 entries across 37 versions & 5 rubygems