Answer Posted / saravanan
The difference between the two is that form_tag just outputs
a <form>tag , It doesn't relies on activerecord object
and form_for gives you a means of accessing some wrapped object.
| Is This Answer Correct ? | 9 Yes | 7 No |
Post New Answer View All Answers
what are the positive aspects of Rails?
What is the difference between symbol and string?
List out the few features of Ruby?
Explain rest in rails routes.
What is rails script? Name some of them?
What is a webrick web server?
What is the directory structure of rails?
What is the difference between concern and application_controller.rb in ruby on rails?
How can the filter methods in ruby on rails be protected?
What are the types of caching used in rails, what are they?
What is active record in rails?
How does router work in rails?
What are the three methods to install ruby on rails?
how you can list all routes for an application?
Explain about Dig, Float and Max?