diff --git a/lib/the_moderator/moderation_model.rb b/lib/the_moderator/moderation_model.rb index 6e0c07f..cd602f4 100644 --- a/lib/the_moderator/moderation_model.rb +++ b/lib/the_moderator/moderation_model.rb @@ -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