belongs_to :structure
+ has_one :organisation, through: :structure
+
has_many :contacts, inverse_of: :compte, dependent: :delete_all
accepts_nested_attributes_for :contacts, reject_if: proc { |attributes| attributes[:nom].blank? }, allow_destroy: true