Sha256: f2c2f9d33f858545d466ec96e025959a95c14847f4aa653e1a62a68bbd2bef16
Contents?: true
Size: 269 Bytes
Versions: 15
Compression:
Stored size: 269 Bytes
Contents
config = { :adapter => 'hsqldb', :database => 'test.db' } ActiveRecord::Base.establish_connection(config) at_exit { # Clean up hsqldb when done Dir['test.db*'].each {|f| File.delete(f)} File.delete('hsqldb-testdb.log') rescue nil #can't delete on windows }
Version data entries
15 entries across 15 versions & 4 rubygems