commit
908639b4fe
2 changed files with 2 additions and 2 deletions
|
@ -245,7 +245,7 @@ GEM
|
|||
et-orbi (~> 1.1, >= 1.1.8)
|
||||
raabro (~> 1.1)
|
||||
geo_coord (0.1.0)
|
||||
geocoder (1.6.0)
|
||||
geocoder (1.6.1)
|
||||
globalid (0.4.2)
|
||||
activesupport (>= 4.2.0)
|
||||
gon (6.3.2)
|
||||
|
|
|
@ -4,7 +4,7 @@ class GroupeInstructeur < ApplicationRecord
|
|||
has_many :assign_tos, dependent: :destroy
|
||||
has_many :instructeurs, through: :assign_tos
|
||||
has_many :dossiers
|
||||
has_and_belongs_to_many :exports
|
||||
has_and_belongs_to_many :exports, dependent: :destroy
|
||||
|
||||
validates :label, presence: { message: 'doit être renseigné' }, allow_nil: false
|
||||
validates :label, uniqueness: { scope: :procedure, message: 'existe déjà' }
|
||||
|
|
Loading…
Add table
Reference in a new issue