Sha256: 016f04bc4f4089e75d727e005e690dc8a66da9902a3f5ac0c78f2fb09986ff88

Contents?: true

Size: 431 Bytes

Versions: 5

Compression:

Stored size: 431 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",
  :encoding => "utf8",
  :database => db1
)

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

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
activerecord-1.14.2 test/connections/native_mysql/connection.rb
activerecord-1.14.0 test/connections/native_mysql/connection.rb
activerecord-1.14.1 test/connections/native_mysql/connection.rb
activerecord-1.14.3 test/connections/native_mysql/connection.rb
activerecord-1.14.4 test/connections/native_mysql/connection.rb