Sha256: 5a517fe856df143a99efc806862fe0b353db7bd0e0abd4e426a48d67028a6b70

Contents?: true

Size: 412 Bytes

Versions: 2

Compression:

Stored size: 412 Bytes

Contents

print "Using MySQL\n"
require 'logger'

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

ActiveRecord::Base.configurations = {
  'redhillonrails' => {
    :adapter => 'mysql',
    :database => 'rh_core_unittest',
    :username => 'rh_core',
    :encoding => 'utf8',
    :socket => '/var/run/mysqld/mysqld.sock',
    :min_messages => 'warning'
  }

}

ActiveRecord::Base.establish_connection 'redhillonrails'

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
aspgems-redhillonrails_core-2.0.0.beta2 spec/connections/mysql/connection.rb
aspgems-redhillonrails_core-2.0.0.beta1 spec/connections/mysql/connection.rb