diff options
author | Marius Peter <marius.peter@tutanota.com> | 2025-01-01 18:02:43 +0100 |
---|---|---|
committer | Marius Peter <marius.peter@tutanota.com> | 2025-01-01 18:02:43 +0100 |
commit | cff1e4fc3596943db63603c614eb08945130eeaa (patch) | |
tree | 1b74b3b8bd8d381208f52418a95cadfcc4b84cd8 /app/models/score.rb | |
parent | 84ef779f985dad79081bb87dd85d37ae0bc3d73d (diff) |
Rubocop 👮
Diffstat (limited to 'app/models/score.rb')
-rw-r--r-- | app/models/score.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/score.rb b/app/models/score.rb index ccc795f..efbfee1 100644 --- a/app/models/score.rb +++ b/app/models/score.rb @@ -5,7 +5,7 @@ class Score < ApplicationRecord validates :value, presence: true, inclusion: { in: 1..5 } validates :session_id, presence: true validates :tartiflette_id, uniqueness: { - scope: [:scoring_criterium_id, :session_id], + scope: [ :scoring_criterium_id, :session_id ], message: "has already been scored for this session and criterium." } end |