summaryrefslogtreecommitdiffstats
path: root/config/application.rb
diff options
context:
space:
mode:
authorMarius Balteanu <marius.balteanu@zitec.com>2023-11-27 20:58:55 +0000
committerMarius Balteanu <marius.balteanu@zitec.com>2023-11-27 20:58:55 +0000
commit7b911245d31509da8fa656bbedc37213d3148897 (patch)
treee3c7dd7cb0bd2438a895474056cfadbb4ac3262a /config/application.rb
parent859bc07edb1f74ab348ff3c54b9af48e714575a2 (diff)
downloadredmine-7b911245d31509da8fa656bbedc37213d3148897.tar.gz
redmine-7b911245d31509da8fa656bbedc37213d3148897.zip
Updates Rails to 7.1.2 (#36320).
Patch by Takashi Kato. git-svn-id: https://svn.redmine.org/redmine/trunk@22488 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'config/application.rb')
-rw-r--r--config/application.rb7
1 files changed, 5 insertions, 2 deletions
diff --git a/config/application.rb b/config/application.rb
index 5e93df122..48e855c9b 100644
--- a/config/application.rb
+++ b/config/application.rb
@@ -23,13 +23,16 @@ module RedmineApp
# Application configuration should go into files in config/initializers
# -- all .rb files in that directory are automatically loaded.
- # Custom directories with classes and modules you want to be autoloadable.
- config.autoloader = :zeitwerk
+ # Adds `lib` to `config.autoload_paths` and `config.eager_load_paths`.
+ config.autoload_lib(ignore: %w(tasks generators plugins))
# Only load the plugins named here, in the order given (default is alphabetical).
# :all can be used as a placeholder for all plugins not explicitly named.
# config.plugins = [ :exception_notification, :ssl_requirement, :all ]
+ config.active_support.remove_deprecated_time_with_zone_name = true
+ config.active_support.cache_format_version = 7.0
+
config.active_record.store_full_sti_class = true
config.active_record.default_timezone = :local
config.active_record.yaml_column_permitted_classes = [