I would like to have Ajax form in Rails so i’m using form_remote_tag. The field
i would like to submit is email address – how can i use the Rails validations together
with form_remote_tag?
I would like to have Ajax form in Rails so i’m using form_remote_tag. The
Share
We’re using form_remote_tag with the :update option and paste the whole form into a partial.
Once the form is submitted and validation fails, the partial is being rendered again and all error messages will show up.
This is the workflow: