projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
7709: Upgrade to rails4, fix some of the compatibility issues.
[arvados.git]
/
services
/
api
/
config
/
application.rb
diff --git
a/services/api/config/application.rb
b/services/api/config/application.rb
index f3f6424b2dac260ac1973859296aa0dec5c42070..4acde0febd0b5affcc3bc9a67b6a1a59e6528351 100644
(file)
--- a/
services/api/config/application.rb
+++ b/
services/api/config/application.rb
@@
-34,6
+34,13
@@
module Server
# Configure sensitive parameters which will be filtered from the log file.
config.filter_parameters += [:password]
# Configure sensitive parameters which will be filtered from the log file.
config.filter_parameters += [:password]
+ # Load entire application at startup.
+ config.eager_load = true
+
+ config.active_record.raise_in_transactional_callbacks = true
+
+ config.active_support.test_order = :sorted
+
I18n.enforce_available_locales = false
# Before using the filesystem backend for Rails.cache, check
I18n.enforce_available_locales = false
# Before using the filesystem backend for Rails.cache, check