Rails: Handle Validates Error Message

validates :email, presence: true, format: /\A[^@]+@[^@]+\z/

1

2