Sha256: 6ec79b04d91201aa197be6a66e9e7be33146105ea898d152b21998f76b6f5d7d

Contents?: true

Size: 607 Bytes

Versions: 23

Compression:

Stored size: 607 Bytes

Contents

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

RAILS_DEFAULT_LOGGER = Logger.new('debug.log')
RAILS_DEFAULT_LOGGER.level = Logger::DEBUG
ActiveRecord::Base.logger = RAILS_DEFAULT_LOGGER

ActiveRecord::Base.configurations = {
  'arunit' => {
    :adapter  => 'mysql',
    :username => 'rails',
    :encoding => 'utf8',
    :database => 'activerecord_unittest',
  },
  'arunit2' => {
    :adapter  => 'mysql',
    :username => 'rails',
    :database => 'activerecord_unittest2'
  }
}

ActiveRecord::Base.establish_connection 'arunit'
Course.establish_connection 'arunit2'

Version data entries

23 entries across 23 versions & 5 rubygems

Version Path
jstorimer-deep-test-2.0.0 sample_rails_project/vendor/rails/activerecord/test/connections/native_mysql/connection.rb
jstorimer-deep-test-1.4.0 sample_rails_project/vendor/rails/activerecord/test/connections/native_mysql/connection.rb
jstorimer-deep-test-1.3.0 sample_rails_project/vendor/rails/activerecord/test/connections/native_mysql/connection.rb
jstorimer-deep-test-1.2.0 sample_rails_project/vendor/rails/activerecord/test/connections/native_mysql/connection.rb
jstorimer-deep-test-1.1.0 sample_rails_project/vendor/rails/activerecord/test/connections/native_mysql/connection.rb
jstorimer-deep-test-1.0.0 sample_rails_project/vendor/rails/activerecord/test/connections/native_mysql/connection.rb
jstorimer-deep-test-0.2.0 sample_rails_project/vendor/rails/activerecord/test/connections/native_mysql/connection.rb
jstorimer-deep-test-0.1.0 sample_rails_project/vendor/rails/activerecord/test/connections/native_mysql/connection.rb
activerecord-1.15.3 test/connections/native_mysql/connection.rb
activerecord-1.15.4 test/connections/native_mysql/connection.rb
activerecord-1.15.0 test/connections/native_mysql/connection.rb
activerecord-1.15.1 test/connections/native_mysql/connection.rb
activerecord-1.15.2 test/connections/native_mysql/connection.rb
activerecord-1.15.5 test/connections/native_mysql/connection.rb
activerecord-1.15.6 test/connections/native_mysql/connection.rb
activerecord_authorails-1.0.0 test/connections/native_mysql/connection.rb
radiant-0.6.1 vendor/rails/activerecord/test/connections/native_mysql/connection.rb
radiant-0.6.0 vendor/rails/activerecord/test/connections/native_mysql/connection.rb
radiant-0.6.3 vendor/rails/activerecord/test/connections/native_mysql/connection.rb
radiant-0.6.2 vendor/rails/activerecord/test/connections/native_mysql/connection.rb