From 894f902054fa79a3f2abb55db1cd840284048daf Mon Sep 17 00:00:00 2001 From: Tim Fischbach Date: Mon, 18 Dec 2023 13:01:04 +0100 Subject: [PATCH] Declare serialize coder Required for Rails 7.1. REDMINE-20487 --- app/models/pageflow/linkmap_page/color_map_file.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/pageflow/linkmap_page/color_map_file.rb b/app/models/pageflow/linkmap_page/color_map_file.rb index 49d3391..b9216d7 100644 --- a/app/models/pageflow/linkmap_page/color_map_file.rb +++ b/app/models/pageflow/linkmap_page/color_map_file.rb @@ -46,7 +46,7 @@ class ColorMapFile < GeneratedImageFile do_not_validate_attachment_file_type :attachment - serialize :attachment_colors + serialize :attachment_colors, YAML def sprite_url attachment.url(:sprite)