Remove presence validation on User#public_email
Since User#public_email was introduced in 2015, the validation rules have included both allow_blank and presence (which means not-blank). The allow_blank option takes precedence, so the presence option is ignored. This removes the presence option so it does not cause confusion or bugs in the future.
Showing
Please register or sign in to comment