add account_id to submissions

This commit is contained in:
Pete Matsyburka
2024-02-03 14:39:28 +02:00
parent ddcb5c5d40
commit 8630c68631
9 changed files with 41 additions and 6 deletions
+1 -1
View File
@@ -36,7 +36,7 @@
class Submitter < ApplicationRecord
belongs_to :submission
has_one :template, through: :submission
has_one :account, through: :template
has_one :account, through: :submission
attribute :values, :string, default: -> { {} }
attribute :preferences, :string, default: -> { {} }