From 285f5156f4686ad8af7869920f0f123df4b07a50 Mon Sep 17 00:00:00 2001 From: Saurabh Bhatia Date: Wed, 25 Sep 2024 22:13:46 +1000 Subject: [PATCH] cleanup --- app/models/user.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/models/user.rb b/app/models/user.rb index 5c8ebe11..5f443d43 100644 --- a/app/models/user.rb +++ b/app/models/user.rb @@ -59,8 +59,7 @@ class User < ApplicationRecord has_many :purchases, dependent: :destroy has_many :products, through: :purchases has_many :orders, dependent: :destroy - # validates :first_name, :last_name, :email, :password, presence: true - # validates_confirmation_of :password + before_validation :set_uid_provider def can_receive_payments?