Service model callbacks

This commit is contained in:
2025-11-22 01:46:57 +02:00
parent 041d078922
commit 12e10e3afb
2 changed files with 37 additions and 1 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ module Tasks
attribute :description, :string
attribute :status_id, :integer
validates :project_id, :title, presence: true
validates :project_id, :title, :status_id, presence: true
delegate :model_name, to: Task