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 is the directory structure of rails?
What is the purpose of load in ruby?
Explain how you can run rails application without creating databases?
How is calling super() different from the super call?
Explain me what is the difference between concern and application_controller.rb in ruby on rails?
Do you know what is rake in rails?
Explain rvm in rails?
when self.up and self.down method is used?
what is a rails migration? Write up a short example of a simple rails migration with a table called customers, a string column called name, and a text column called description?
what is Cross-Site Request Forgery (CSRF) and how Rails is protected against it?
What is rails migration? What can it do?
how you can list all routes for an application?
How can you protect filter methods in rails?
what is the role of Rails Controller?
How are the key differences between python and ruby?