That should not be there

This commit is contained in:
bumi 2020-04-09 13:39:04 +02:00
parent 829f534afd
commit 9c9ed88fa0

View File

@ -1,6 +1,5 @@
class Submission < ApplicationRecord
belongs_to :form
has_many :file_uploads, dependent: :destroy
has_many_attached :files
validates_presence_of :data, if: :appended_at?