a11yist/app/models/report.rb

8 lines
145 B
Ruby
Raw Normal View History

class Report < ApplicationRecord
2024-07-20 16:52:12 +02:00
has_rich_text :comment_html
has_many :elements, dependent: :destroy
2024-07-19 02:29:18 +02:00
2024-07-20 16:52:12 +02:00
validates :name, presence: true
end