From 2f9acf5139d73529828635ff1f6741b4b40b5552 Mon Sep 17 00:00:00 2001 From: Maria Sauer <mcs22@inf.ufpr.br> Date: Wed, 14 Aug 2024 11:25:35 -0300 Subject: [PATCH] issue #63: fix comments --- app/models/review.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/review.rb b/app/models/review.rb index b1e47ebda..e3e3e8af2 100644 --- a/app/models/review.rb +++ b/app/models/review.rb @@ -52,7 +52,7 @@ class Review < ApplicationRecord validates_presence_of :user, :reviewable validates_inclusion_of :reviewable_type, in: %w(LearningObject Collection), message: 'Only LearningObjects and Collections are reviewable.' - validates_uniqueness_of :user, scope: [:reviewable_id, :reviewable_type] + # validates_uniqueness_of :user, scope: [:reviewable_id, :reviewable_type] accepts_nested_attributes_for :review_ratings -- GitLab