demarches-normaliennes/app/controllers/users
Pierre de La Morinerie 5e05556ee8 dossiers: add a validation on dossier individual
Validate that a dossier on a `for_individual?` procedure always has
an `individual` associated record.

For this, the individual needs to be built before the record is
validated (i.e. even before the `before_create` callback is run).

This should help with #4596: now if a dossier is created without an
`individual`, or if the `invividual` record is later removed, the
validation will fail.
2020-01-08 10:48:22 +01:00
..
activate_controller.rb ActivateController: add tests and clean a bit 2019-08-16 11:22:36 +02:00
commencer_controller.rb Rename demarche archivée to demarche close 2019-11-28 15:07:16 +01:00
confirmations_controller.rb Remove credenticals synchronisation logic 2019-08-16 11:35:19 +02:00
demarches_controller.rb Add Style/CollectionMethods to rubocop 2019-09-12 14:48:18 +02:00
dossiers_controller.rb dossiers: add a validation on dossier individual 2020-01-08 10:48:22 +01:00
feedbacks_controller.rb app: rename new_user to users 2019-03-25 10:56:39 +01:00
passwords_controller.rb instructeurs: replace calls to Instructeur.find_by(email: …) 2019-11-04 10:44:23 +01:00
profil_controller.rb [link to #4557] An instructeur cannot change its email on its own 2019-12-11 17:18:21 +01:00
registrations_controller.rb redirect to same path after use signup 2019-05-13 15:28:25 +02:00
sessions_controller.rb [fix #4238] When the token does not exist, redirect to home page without sending a new link 2019-08-27 15:01:46 +02:00
user_controller.rb app: rename new_user to users 2019-03-25 10:56:39 +01:00