Skip to content

Commit 1f93e89

Browse files
mostlyobviousfidelmpraglowski
committed
Missed application of double serialization prevention
Co-authored-by: Szymon Fiedler <[email protected]> Co-authored-by: Mirosław Pragłowski <[email protected]>
1 parent 14cb1d2 commit 1f93e89

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ruby_event_store-active_record/lib/ruby_event_store/active_record/with_abstract_base_class.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ def build_event_klass(instance_id)
2222
Class.new(@base_klass) do
2323
self.primary_key = :id
2424
self.table_name = "event_store_events"
25+
26+
include SkipJsonSerialization
2527
end,
2628
)
2729
end

0 commit comments

Comments
 (0)