Finalize check fields
Some checks failed
/ Run tests (push) Failing after 4m20s
/ Build, push and deploy image (push) Has been skipped
/ Run system tests (push) Has been cancelled

This commit is contained in:
david 2024-09-11 20:44:33 +02:00
parent 63fc206c27
commit 174cf9f503
12 changed files with 73 additions and 34 deletions

View file

@ -6,7 +6,7 @@ class Link < ApplicationRecord
belongs_to :link_category
has_and_belongs_to_many :checks
has_rich_text :description_html
has_rich_text :description
validates :url, :text, presence: true
validate :check_url