demarches-normaliennes/app/models/champs/siret_champ.rb
2018-04-04 18:44:08 +02:00

4 lines
173 B
Ruby

class Champs::SiretChamp < Champ
belongs_to :etablissement, dependent: :destroy
accepts_nested_attributes_for :etablissement, allow_destroy: true, update_only: true
end