From 36ce94195bb2efd5259306b73997d91293c31822 Mon Sep 17 00:00:00 2001 From: gregoirenovel Date: Mon, 1 Oct 2018 13:10:36 +0200 Subject: [PATCH] Remove france_connect delegation on User --- app/models/user.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/app/models/user.rb b/app/models/user.rb index 5dbae7119..d6d55c9f3 100644 --- a/app/models/user.rb +++ b/app/models/user.rb @@ -19,7 +19,6 @@ class User < ApplicationRecord has_many :feedbacks, dependent: :destroy has_one :france_connect_information, dependent: :destroy - delegate :email_france_connect, :gender, :birthdate, :birthplace, :france_connect_particulier_id, to: :france_connect_information accepts_nested_attributes_for :france_connect_information before_validation -> { sanitize_email(:email) }