Sha256: 96a5144f80b020d367a08f961ef0534ec6c20607045cd69c198da9e4fab1d9b5

Contents?: true

Size: 427 Bytes

Versions: 5

Compression:

Stored size: 427 Bytes

Contents

print "Using MySQL\n"
require 'logger'

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

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

}

ActiveRecord::Base.establish_connection 'redhillonrails'

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
redhillonrails_core-1.1.3 spec/connections/mysql/connection.rb
redhillonrails_core-1.1.3.pre1 spec/connections/mysql/connection.rb
redhillonrails_core-1.1.2 spec/connections/mysql/connection.rb
redhillonrails_core-1.1.1 spec/connections/mysql/connection.rb
redhillonrails_core-1.1.0 spec/connections/mysql/connection.rb