Enable ActiveRecord Mng
This commit is contained in:
@ -33,6 +33,8 @@ module CodeOcean
|
||||
case (RUBY_ENGINE)
|
||||
when 'ruby'
|
||||
# ...
|
||||
#this is enabled in prod for testing
|
||||
config.middleware.use ActiveRecord::ConnectionAdapters::ConnectionManagement
|
||||
when 'jruby'
|
||||
# plattform specific
|
||||
java.lang.Class.for_name('javax.crypto.JceSecurity').get_declared_field('isRestricted').tap{|f| f.accessible = true; f.set nil, false}
|
||||
|
Reference in New Issue
Block a user