From 8d03a48dc4ca92627ab507643abb74541c7a324f Mon Sep 17 00:00:00 2001 From: Bohung Date: Wed, 1 Sep 2021 12:55:33 +0800 Subject: [PATCH] Fix bug. --- app/models/album_image.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/album_image.rb b/app/models/album_image.rb index 6379792..875b164 100644 --- a/app/models/album_image.rb +++ b/app/models/album_image.rb @@ -6,7 +6,7 @@ class AlbumImage mount_uploader :file, GalleryUploader field :title field :title_translations, type: Hash, default: {} - field :description, localize: true + field :description, type: String, localize: true, default: "" field :rss2_id, type: String field :order, type: Integer, default: -1