Remove titres identite after a dossier is processed

This commit is contained in:
Paul Chavard 2020-12-08 15:57:48 +01:00
parent bd697b6252
commit 48e7822e34
4 changed files with 67 additions and 0 deletions

View file

@ -41,6 +41,7 @@ class Champ < ApplicationRecord
:exclude_from_view?,
:repetition?,
:dossier_link?,
:titre_identite?,
to: :type_de_champ
scope :updated_since?, -> (date) { where('champs.updated_at > ?', date) }