Sha256: 6e90372b9ec8e31958be7198d76ab002b650592f35db80c0e5029d86363a48dd
Contents?: true
Size: 521 Bytes
Versions: 58
Compression:
Stored size: 521 Bytes
Contents
print "Using IBM2 \n" gem 'ibm_db' require 'IBM_DB' RAILS_CONNECTION_ADAPTERS = %w( mysql postgresql sqlite firebird sqlserver db2 oracle sybase openbase frontbase ibm_db ) 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
58 entries across 58 versions & 1 rubygems