File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 2121end
2222
2323database_file = SecureRandom . hex
24- ActiveRecord ::Base . configurations = {
24+ ActiveRecord ::Base . configurations = debug = {
2525 default_env : {
2626 url : ENV [ 'DATABASE_URL' ] . presence || "sqlite3://#{ Dir . tmpdir } /#{ database_file } .sqlite3" ,
2727 properties : { allowPublicKeyRetrieval : true } # for JRuby madness
3232 }
3333}
3434
35- puts "Testing with #{ ActiveRecord :: Base . configurations } "
35+ puts "Testing with #{ debug } "
3636
3737# Configure ActiveRecord
3838ActiveRecord ::Migration . verbose = false
Original file line number Diff line number Diff line change 88require 'parallel'
99
1010database_file = SecureRandom . hex
11- ActiveRecord ::Base . configurations = {
11+ ActiveRecord ::Base . configurations = debug = {
1212 default_env : {
1313 url : ENV [ 'DATABASE_URL' ] . presence || "sqlite3://#{ Dir . tmpdir } /#{ database_file } .sqlite3" ,
1414 properties : { allowPublicKeyRetrieval : true } # for JRuby madness
1919 }
2020}
2121
22- puts "Testing with #{ ActiveRecord :: Base . configurations } "
22+ puts "Testing with #{ debug } "
2323
2424ENV [ 'WITH_ADVISORY_LOCK_PREFIX' ] ||= SecureRandom . hex
2525
You can’t perform that action at this time.
0 commit comments