Add coder to serialize
parent
26d8753b50
commit
6a7c30128b
|
@ -6,8 +6,8 @@ module TheModerator
|
||||||
|
|
||||||
included do
|
included do
|
||||||
belongs_to :moderatable, polymorphic: true
|
belongs_to :moderatable, polymorphic: true
|
||||||
serialize :data
|
serialize :data, coder: YAML
|
||||||
serialize :data_display
|
serialize :data_display, coder: YAML
|
||||||
end
|
end
|
||||||
|
|
||||||
module ClassMethods
|
module ClassMethods
|
||||||
|
|
Loading…
Reference in New Issue