Sha256: 2f02c5283d8c6985fa25e568746d376ea8a933922629327a9889d701584afcf7

Contents?: true

Size: 429 Bytes

Versions: 5

Compression:

Stored size: 429 Bytes

Contents

print "Using MySQL2\n"
require 'logger'

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

ActiveRecord::Base.configurations = {
  'redhillonrails' => {
    :adapter => 'mysql2',
    :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/mysql2/connection.rb
redhillonrails_core-1.1.3.pre1 spec/connections/mysql2/connection.rb
redhillonrails_core-1.1.2 spec/connections/mysql2/connection.rb
redhillonrails_core-1.1.1 spec/connections/mysql2/connection.rb
redhillonrails_core-1.1.0 spec/connections/mysql2/connection.rb