remove useless dependent option

This commit is contained in:
Christophe Robillard 2020-06-11 10:08:04 +02:00
parent b264839039
commit 56ed8dd36a

View file

@ -1,8 +1,8 @@
class GroupeInstructeur < ApplicationRecord
DEFAULT_LABEL = 'défaut'
belongs_to :procedure, -> { with_discarded }, inverse_of: :groupe_instructeurs
has_many :assign_tos
has_many :instructeurs, through: :assign_tos, dependent: :destroy
has_many :assign_tos, dependent: :destroy
has_many :instructeurs, through: :assign_tos
has_many :dossiers
has_and_belongs_to_many :exports