diff --git a/app/models/avis.rb b/app/models/avis.rb index fed16957d..2cc17d25b 100644 --- a/app/models/avis.rb +++ b/app/models/avis.rb @@ -111,7 +111,7 @@ class Avis < ApplicationRecord def remind_by!(revocator) return false if !remindable_by?(revocator) || answer.present? - update!(reminded_at: Time.zone.now) + update_column(:reminded_at, Time.zone.now) end private