From 492398a6c6c86d84644df86e5b6bd2edf6c693a5 Mon Sep 17 00:00:00 2001 From: Jan-Willem van der Meer Date: Fri, 10 Oct 2014 11:42:49 +0200 Subject: [PATCH] Clearly distance ourselfs from AR methods --- lib/gitlab/ldap/user.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/gitlab/ldap/user.rb b/lib/gitlab/ldap/user.rb index c8e5d11447..006ef17072 100644 --- a/lib/gitlab/ldap/user.rb +++ b/lib/gitlab/ldap/user.rb @@ -54,7 +54,7 @@ module Gitlab def initialize(auth_hash) super - update_attributes + update_user_attributes end # instance methods @@ -73,7 +73,7 @@ module Gitlab model.find_by(email: auth_hash.email) end - def update_attributes + def update_user_attributes gl_user.attributes = { extern_uid: auth_hash.uid, provider: auth_hash.provider,