Ignore to be removed columns
This commit is contained in:
parent
e975e2a0aa
commit
434210de2e
4 changed files with 8 additions and 0 deletions
|
@ -1,4 +1,6 @@
|
|||
class Attestation < ApplicationRecord
|
||||
self.ignored_columns = ['pdf']
|
||||
|
||||
belongs_to :dossier
|
||||
|
||||
has_one_attached :pdf
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
class AttestationTemplate < ApplicationRecord
|
||||
self.ignored_columns = ['logo', 'signature']
|
||||
|
||||
include ActionView::Helpers::NumberHelper
|
||||
include TagsSubstitutionConcern
|
||||
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
class Commentaire < ApplicationRecord
|
||||
self.ignored_columns = ['file']
|
||||
|
||||
belongs_to :dossier, inverse_of: :commentaires, touch: true
|
||||
|
||||
belongs_to :user
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
require Rails.root.join('lib', 'percentile')
|
||||
|
||||
class Procedure < ApplicationRecord
|
||||
self.ignored_columns = ['logo']
|
||||
|
||||
MAX_DUREE_CONSERVATION = 36
|
||||
|
||||
has_many :types_de_champ, -> { root.public_only.ordered }, inverse_of: :procedure, dependent: :destroy
|
||||
|
|
Loading…
Reference in a new issue