Avoid recreating service too often

This commit is contained in:
Frederic Merizen 2018-10-04 16:56:41 +02:00
parent eafd0e8348
commit 33f29f35ab
3 changed files with 2 additions and 28 deletions

View file

@ -223,10 +223,6 @@ class Dossier < ApplicationRecord
end
end
def get_value(table, column)
DossierFieldService.new.get_value(self, table, column)
end
def owner_name
if etablissement.present?
etablissement.entreprise_raison_sociale