Sha256: 42a40309756f8f2abe0934d583caaee3f9008a830a32f10701f0da98c52ff399

Contents?: true

Size: 382 Bytes

Versions: 4

Compression:

Stored size: 382 Bytes

Contents

print "Using native MySQL\n"
require 'logger'

ActiveRecord::Base.logger = Logger.new("debug.log")

db1 = 'composite_primary_keys_unittest'

connection_options = {
  :adapter  => "mysql",
  :username => "root",
  :encoding => "utf8",
  :database => db1
}

ActiveRecord::Base.configurations = { db1 => connection_options }
ActiveRecord::Base.establish_connection(connection_options)

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
composite_primary_keys-0.8.0 test/connections/native_mysql/connection.rb
composite_primary_keys-0.8.2 test/connections/native_mysql/connection.rb
composite_primary_keys-0.8.3 test/connections/native_mysql/connection.rb
composite_primary_keys-0.8.4 test/connections/native_mysql/connection.rb