Add coder to serialize

master
Guillaume Dott 2024-09-24 16:28:08 +02:00
parent 26d8753b50
commit 6a7c30128b
1 changed files with 2 additions and 2 deletions

View File

@ -6,8 +6,8 @@ module TheModerator
included do
belongs_to :moderatable, polymorphic: true
serialize :data
serialize :data_display
serialize :data, coder: YAML
serialize :data_display, coder: YAML
end
module ClassMethods