blob: 34d304efa9eed477da4ecd6383fe3145f82613d7 (
plain) (
tree)
|
|
puts "Using native PostgreSQL"
require "active_record"
require 'logger'
ENV['ADAPTER'] = 'postgresql'
ActiveRecord::Base.configurations = {
'unit' => {
:adapter => 'postgresql',
:encoding => 'utf8',
:database => 'arel_unit',
}
}
|