Enable ActiveRecord Mng

This commit is contained in:
Jan Renz
2015-11-23 17:42:13 +01:00
parent 98a5cd618c
commit 62046cc9ec

View File

@ -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}