Charlie Ashbourne
Joined
110 Experience
1 Lesson Completed
0 Questions Solved
Activity
Quick note here: you'll want to add a conditional check if self.referral_code.nil?
to the make sure you don't re-generate and overwrite the existing referral code in the event a user needs to use the Forgot Password function.