From 0a474f9288577734dbeac09edd99fbc03df2254f Mon Sep 17 00:00:00 2001 From: Mohamed ABDELLANI Date: Wed, 3 Jan 2024 11:12:06 +0100 Subject: [PATCH] add "ActiveSupport::TimeWithZone" to yaml_column_permitted_classes --- config/application.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/application.rb b/config/application.rb index 116fb5970a9..9584a34a903 100644 --- a/config/application.rb +++ b/config/application.rb @@ -227,7 +227,7 @@ module ::Reporting; end config.action_view.form_with_generates_remote_forms = false config.active_record.cache_versioning = false config.active_record.has_many_inversing = false - config.active_record.yaml_column_permitted_classes = [BigDecimal, Symbol] + config.active_record.yaml_column_permitted_classes = [BigDecimal, Symbol, ActiveSupport::TimeWithZone] config.active_support.escape_html_entities_in_json = true