I have a model with a home and work phone number and I just want to
validate that one of the two are present and correct. Would I have to
write my own validation method? If so what is wrong with below?:
errors.add(“Either home email or work email need to be entered.”)
unless home_email.nil? or work_email.nil?