blob: c924c27080cd5448b4587e4e7983236ff836f29c (
plain) (
tree)
|
|
puts "Using native MySQL"
require "active_record"
require 'logger'
ENV['ADAPTER'] = 'mysql'
ActiveRecord::Base.configurations = {
'unit' => {
:adapter => 'mysql',
:username => 'root',
:encoding => 'utf8',
:database => 'arel_unit',
}
}
|