Ignore :expects_multiple_submissions
on the correct model (#4079)
Ignore la colonne `:expects_multiple_submissions` sur le bon modèle
This commit is contained in:
commit
1f99df9d7e
2 changed files with 1 additions and 3 deletions
|
@ -1,8 +1,6 @@
|
|||
class Dossier < ApplicationRecord
|
||||
include DossierFilteringConcern
|
||||
|
||||
self.ignored_columns = [:expects_multiple_submissions]
|
||||
|
||||
enum state: {
|
||||
brouillon: 'brouillon',
|
||||
en_construction: 'en_construction',
|
||||
|
|
|
@ -3,7 +3,7 @@ require Rails.root.join('lib', 'percentile')
|
|||
class Procedure < ApplicationRecord
|
||||
MAX_DUREE_CONSERVATION = 36
|
||||
|
||||
self.ignored_columns = [:individual_with_siret]
|
||||
self.ignored_columns = [:individual_with_siret, :expects_multiple_submissions]
|
||||
|
||||
has_many :types_de_piece_justificative, -> { ordered }, inverse_of: :procedure, dependent: :destroy
|
||||
has_many :types_de_champ, -> { root.public_only.ordered }, inverse_of: :procedure, dependent: :destroy
|
||||
|
|
Loading…
Reference in a new issue