Sha256: 3012f9b484accd16bd266031bf0c5b9b104fd9c193ff16d9a7c95382b1ab5c8c
Contents?: true
Size: 354 Bytes
Versions: 16
Compression:
Stored size: 354 Bytes
Contents
module ActiveRecord class Base class << self def hsqldb_connection(config) require "arjdbc/hsqldb" config[:url] ||= "jdbc:hsqldb:#{config[:database]}" config[:driver] ||= "org.hsqldb.jdbcDriver" embedded_driver(config) end alias_method :jdbchsqldb_connection, :hsqldb_connection end end end
Version data entries
16 entries across 16 versions & 5 rubygems