Sha256: 558d262a6661446c3dbda70e46684992b3eec54efdad9ae1ce4b1798aaf6f57c
Contents?: true
Size: 454 Bytes
Versions: 5
Compression:
Stored size: 454 Bytes
Contents
config = { :adapter => 'jdbc', :username => 'sa', :password => '', :driver => 'org.hsqldb.jdbcDriver', :url => 'jdbc:hsqldb:test.db' #:url => 'jdbc:hsqldb:mem:test' } ActiveRecord::Base.establish_connection(config) logger = Logger.new 'hsqldb-testdb.log' logger.level = Logger::DEBUG ActiveRecord::Base.logger = logger at_exit { # Clean up hsqldb when done Dir['test.db*'].each {|f| File.delete(f)} File.delete('hsqldb-testdb.log') }
Version data entries
5 entries across 5 versions & 1 rubygems