Sha256: 2e7ff0631050473f93320ea1931e4792eec7d204502f61ca5c7ace8e2d5dbd09
Contents?: true
Size: 337 Bytes
Versions: 10
Compression:
Stored size: 337 Bytes
Contents
config = { :adapter => 'hsqldb', :database => 'test.db' } 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
10 entries across 10 versions & 2 rubygems