Forms in Rails
In Rails, there’re more than one way you can generate a form. This post is going to go over how to generate forms in rails using html form tag, rails’ form_tag as well as rails’ form_for.
1. html form tag
You can always generate a form using html’s form tag in rails.
We have the following routes:
Prefix Verb URI Pattern Controller#Action root GET / application#hello signup GET /signup(.:format)…
View On WordPress










