Display link in Rails form error message
问题 On our sign-up form, we validates_uniqueness_of :email When the a user is attempting to use our sign up form and they specify an existing email address, I'd like them to see an error message like this This email address is already in use. If you're having trouble logging in, you can reset your password Obviously, I'd like to use the named route for the link, but my User model does not have access to it. How can I accomplish this? Side note: We will be offering translations for our app soon