From d591ce69778773c0c021897d9ed764ff969c92fb Mon Sep 17 00:00:00 2001 From: Mohamed ABDELLANI Date: Wed, 3 Jan 2024 11:24:50 +0100 Subject: [PATCH] add Time 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 9584a34a903..478c9cfe6fa 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, ActiveSupport::TimeWithZone] + config.active_record.yaml_column_permitted_classes = [BigDecimal, Symbol, ActiveSupport::TimeWithZone, Time] config.active_support.escape_html_entities_in_json = true