anonoz/itcwresume

View on GitHub

Showing 1 of 1 total issue

Consider simplifying this complex logical expression.
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
Severity: Major
Found in app/models/student.rb - About 1 hr to fix
    Severity
    Category
    Status
    Source
    Language