Showing 1 of 1 total issue
Consider simplifying this complex logical expression. Open
Open
unless /@student.mmu.edu.my$/.match(email) or /@student.tarc.edu.my$/.match(email) or /@mail.apu.edu.my$/.match(email) or /@kdu-online.com$/.match(email) or /@1utar.my$/.match(email) or /@student.newinti.edu.my$/.match(email) or /@student.ucsiuniversity.edu.my$/.match(email)
errors.add(:email, "must be gmail address from list of allowed domains!")
end