1 print "Using native Postgresql\n"
3 require 'adapter_helper/postgresql'
5 ActiveRecord::Base.logger = Logger.new("debug.log")
7 # Adapter config setup in locals/database_connections.rb
8 connection_options = AdapterHelper::Postgresql.load_connection_from_env
9 ActiveRecord::Base.establish_connection(connection_options)