Skip to content

Commit

Permalink
Declare serialize coder
Browse files Browse the repository at this point in the history
Required for Rails 7.1.

REDMINE-20487
  • Loading branch information
tf committed Dec 18, 2023
1 parent 7d0aba7 commit e76575f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/pageflow/linkmap_page/color_map_file.rb
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class ColorMapFile < GeneratedImageFile

do_not_validate_attachment_file_type :attachment

serialize :attachment_colors
serialize :attachment_colors, Object, coder: YAML

def sprite_url
attachment.url(:sprite)
Expand Down

0 comments on commit e76575f

Please sign in to comment.