procedure: ignore :expects_multiple_submissions
on the correct model
This commit is contained in:
parent
3e43ef029e
commit
fdca7c025a
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