# File lib/jdbc_adapter/jdbc_postgre.rb, line 6 def postgresql_connection(config) config[:host] ||= "localhost" config[:port] ||= 5432 config[:url] ||= "jdbc:postgresql://#{config[:host]}:#{config[:port]}/#{config[:database]}" config[:driver] ||= "org.postgresql.Driver" jdbc_connection(config) end