Sha256: ed0aafe33c0e5308ad5305041c145d312271214dc43bc3079ac0e7a133079582

Contents?: true

Size: 408 Bytes

Versions: 2

Compression:

Stored size: 408 Bytes

Contents

print "Using native MySQL\n"
require_dependency 'fixtures/course'
require 'logger'

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

db1 = 'activerecord_unittest'
db2 = 'activerecord_unittest2'

ActiveRecord::Base.establish_connection(
  :adapter  => "mysql",
  :username => "rails",
  :database => db1
)

Course.establish_connection(
  :adapter  => "mysql",
  :username => "rails",
  :database => db2
)

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
activerecord-1.13.1 test/connections/native_mysql/connection.rb
activerecord-1.13.2 test/connections/native_mysql/connection.rb