• Dan Jensen's avatar
    Remove conditions on 2 User email validations · 8d214f06
    Dan Jensen authored
    The User model had 2 validates declarations for secondary email
    attributes that had unnecessary conditions. This removes those
    conditions. At most they offered a negligible performance improvement,
    at the cost of adding complexity to secondary emails, which are
    security-sensitive and should be kept as simple as possible.
    8d214f06
user.rb 70 KB