Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
def referrer_must_be_existing_user
errors.add(:referral_id, "is not a valid user") if referral_id.blank?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.