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

Version Path
activerecord-jdbc-adapter-0.9.0.1 test/db/hsqldb.rb
ActiveRecord-JDBC-0.5 test/db/hsqldb.rb
activerecord-jdbc-adapter-0.7 test/db/hsqldb.rb
activerecord-jdbc-adapter-0.7.1 test/db/hsqldb.rb
activerecord-jdbc-adapter-0.8.1 test/db/hsqldb.rb
activerecord-jdbc-adapter-0.8.2 test/db/hsqldb.rb
activerecord-jdbc-adapter-0.9 test/db/hsqldb.rb
activerecord-jdbc-adapter-0.7.2 test/db/hsqldb.rb
activerecord-jdbc-adapter-0.8 test/db/hsqldb.rb
activerecord-jdbc-adapter-0.6 test/db/hsqldb.rb