Sha256: 455f52fdf2a40d03892df71bd6d6ea47469ba8881721a3a52310644a680a388a

Contents?: true

Size: 329 Bytes

Versions: 6

Compression:

Stored size: 329 Bytes

Contents

print "Using MySQL\n"
require 'logger'

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

}

ActiveRecord::Base.establish_connection 'afk'

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
automatic_foreign_key-1.3.0 spec/connections/mysql/connection.rb
automatic_foreign_key-1.2.0 spec/connections/mysql/connection.rb
automatic_foreign_key-1.1.8 spec/connections/mysql/connection.rb
automatic_foreign_key-1.1.7 spec/connections/mysql/connection.rb
automatic_foreign_key-1.1.6 spec/connections/mysql/connection.rb
automatic_foreign_key-1.1.5 spec/connections/mysql/connection.rb