Sha256: eef83ba9f2641ddec10602e2ca2acf93c16fe5c16dd682eb4b4aa13d2329985c
Contents?: true
Size: 396 Bytes
Versions: 16
Compression:
Stored size: 396 Bytes
Contents
class ActiveRecord::Base class << self def informix_connection(config) config[:port] ||= 9088 config[:url] ||= "jdbc:informix-sqli://#{config[:host]}:#{config[:port]}/#{config[:database]}:INFORMIXSERVER=#{config[:servername]}" config[:driver] = 'com.informix.jdbc.IfxDriver' config[:adapter_spec] = ::ArJdbc::Informix jdbc_connection(config) end end end
Version data entries
16 entries across 16 versions & 4 rubygems