What is difference between form_for and form_tag in ruby on rails

    form_for is used for model fields and its assign proper actions on the basis of new post and edit post to the form

    Where form_tag is used in case when you have to render fields other than model or your custom fields form

    0