My problem is to show modal with errors if submit is not successful.
I should try AJAX or it can be done without it?
I should override registration controller?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
for example:
model User with some validations:
I use a shared partial to display the errors that prevent the data in a form to be saved:
_error_messages.html.erb
In the form to create or edit a new user: