rend plus compréhensible la civilité

This commit is contained in:
Christophe Robillard 2020-12-08 17:43:50 +01:00
parent 30b9d603bd
commit 2066e3db87
8 changed files with 10 additions and 10 deletions

View file

@ -19,8 +19,8 @@ class Individual < ApplicationRecord
validates :nom, presence: true, allow_blank: false, allow_nil: false, on: :update
validates :prenom, presence: true, allow_blank: false, allow_nil: false, on: :update
GENDER_MALE = 'M.'
GENDER_FEMALE = 'Mme'
GENDER_MALE = 'Monsieur'
GENDER_FEMALE = 'Madame'
def self.from_france_connect(fc_information)
new(