From 6169399a6bd83f5e3bfe3a19cf42009494f3cb52 Mon Sep 17 00:00:00 2001 From: Christophe Robillard Date: Fri, 5 Mar 2021 08:34:39 +0100 Subject: [PATCH] fix limit date for notice validation --- app/models/procedure.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/procedure.rb b/app/models/procedure.rb index 0797ba3f2..65037a387 100644 --- a/app/models/procedure.rb +++ b/app/models/procedure.rb @@ -202,7 +202,7 @@ class Procedure < ApplicationRecord "image/jpg", "image/png", "text/plain" - ], size: { less_than: 20.megabytes }, if: -> { new_record? || created_at > Date.new(2020, 2, 27) } + ], size: { less_than: 20.megabytes }, if: -> { new_record? || created_at > Date.new(2020, 2, 28) } validates :deliberation, content_type: [ "application/msword",