Sha256: 8e8412d96036d23e731d728da97bd833f377edcc78be09331e26e2f7e62db91e
Contents?: true
Size: 269 Bytes
Versions: 5
Compression:
Stored size: 269 Bytes
Contents
config = { :adapter => 'jdbc', :username => 'sa', :password => '', :driver => 'org.h2.Driver', :url => 'jdbc:h2:test.db' } ActiveRecord::Base.establish_connection(config) at_exit { # Clean up hsqldb when done Dir['test.db*'].each {|f| File.delete(f)} }
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
ActiveRecord-JDBC-0.2.3 | test/db/h2.rb |
ActiveRecord-JDBC-0.2.4 | test/db/h2.rb |
ActiveRecord-JDBC-0.3 | test/db/h2.rb |
ActiveRecord-JDBC-0.3.1 | test/db/h2.rb |
ActiveRecord-JDBC-0.4 | test/db/h2.rb |