Refactor TypeDeXxxx
This commit is contained in:
parent
f3d8645426
commit
0906d44ea8
16 changed files with 485 additions and 429 deletions
|
@ -2,6 +2,7 @@ class Procedure < ActiveRecord::Base
|
|||
has_many :types_de_piece_justificative
|
||||
has_many :types_de_champ
|
||||
has_many :dossiers
|
||||
accepts_nested_attributes_for :types_de_champ
|
||||
|
||||
validates :libelle, presence: true, allow_blank: false, allow_nil: false
|
||||
validates :description, presence: true, allow_blank: false, allow_nil: false
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue