start of iteration 2
Some checks failed
/ Run tests (push) Failing after 1m19s
/ Run system tests (push) Failing after 1m18s
/ Build, push and deploy image (push) Has been skipped

This commit is contained in:
david 2024-10-31 23:13:18 +01:00
parent 9fb87a74ce
commit 729ed13521
75 changed files with 705 additions and 170 deletions

View file

@ -1,9 +1,10 @@
# frozen_string_literal: true
class Report < ApplicationRecord
has_rich_text :comment_html
has_many :pages, dependent: :destroy
has_many :elements, through: :pages, dependent: :destroy
has_rich_text :comment
has_many :elements, dependent: :destroy
validates :name, presence: true
end