- Online Exam Test Papers | - MCQs[multiple choice questions and answers ] | - Mock Test Papers | - Practice Papers | - Sample Test Papers |

Question:
Which statement correctly describes a difference between the form helper methods form_tag and form_for?

1.The form_tag method is for basic forms, while the form_for method is for multipart forms that include file uploads.

2. The form_tag method is for HTTP requests, while the form_for method is for AJAX requests.

3.The form_tag method typically expects a URL as its first argument, while the form_for method typically expects a model object.

4. The form_tag method is evaluated at runtime, while the form_for method is precompiled and cached.

Posted Date:-2022-09-17 03:23:58


More MCQS Questions and answers

Search