app/controllers/overrides/omniauth_callbacks_controller.rb
def assign_provider_attrs(user, auth_hash)
      user.assign_attributes({
        nickname: auth_hash['info']['nickname'],
        name:     auth_hash['info']['name'],
        image:    auth_hash['info']['image'],
        email:    auth_hash['info']['email']
      })
    end
# break out provider attribute assignment for easy method extension
break out provider attribute assignment for easy method extension
break out provider attribute assignment for easy method extension
def assign_provider_attrs(user, auth_hash)
      user.assign_attributes({
        nickname: auth_hash['info']['nickname'],
        name:     auth_hash['info']['name'],
        image:    auth_hash['info']['image'],
        email:    auth_hash['info']['email']
      })
    end
def assign_provider_attrs ( user , auth_hash ) user . assign_attributes ( { nickname : auth_hash [ 'info' ] [ 'nickname' ] , name : auth_hash [ 'info' ] [ 'name' ] , image : auth_hash [ 'info' ] [ 'image' ] , email : auth_hash [ 'info' ] [ 'email' ] } ) end
break out provider attribute assignment for easy method extension
break out provider attribute assignment for easy method extension
user
auth_hash