rails v7.1.2 and ruby to v3.3.0

This commit is contained in:
Alex Turchyn authored and Pete Matsyburka committed 2023-12-29 20:50:36 +02:00
1 parent b94dbc75b7
commit fe845bfa36
22 files changed
+226 -194

No files matched your search

+1 -1
View File
@@ -31,7 +31,7 @@ class SubmissionEvent < ApplicationRecord
attribute :data, :string, default: -> { {} }
attribute :event_timestamp, :datetime, default: -> { Time.current }
serialize :data, JSON
serialize :data, coder: JSON
before_validation :set_submission_id, on: :create