rails v7.1.2 and ruby to v3.3.0

This commit is contained in:
Alex Turchyn
2023-12-29 18:50:14 +00:00
committed by Pete Matsyburka
parent b94dbc75b7
commit fe845bfa36
22 changed files with 226 additions and 194 deletions
+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