Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
saurabhbhatia committed Sep 25, 2024
1 parent b4e7d9b commit 285f515
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/models/user.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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?
Expand Down

0 comments on commit 285f515

Please sign in to comment.