From 3c331b65a53078e7444d7429aa73d90b5cfae0f3 Mon Sep 17 00:00:00 2001 From: gregoirenovel Date: Wed, 20 Jun 2018 18:30:41 +0200 Subject: [PATCH] Remove an unused method --- app/models/gestionnaire.rb | 27 --------------------------- 1 file changed, 27 deletions(-) diff --git a/app/models/gestionnaire.rb b/app/models/gestionnaire.rb index e7fef8d10..033f3df54 100644 --- a/app/models/gestionnaire.rb +++ b/app/models/gestionnaire.rb @@ -152,33 +152,6 @@ class Gestionnaire < ApplicationRecord private - def valid_couple_table_attr?(table, column) - couples = [ - { - table: :dossier, - column: :dossier_id - }, - { - table: :procedure, - column: :libelle - }, - { - table: :etablissement, - column: :siret - }, - { - table: :entreprise, - column: :raison_sociale - }, - { - table: :dossier, - column: :state - } - ] - - couples.include?({ table: table, column: column }) - end - def annotations_hash(demande, annotations_privees, avis, messagerie) { demande: demande,