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 benefits of using active record as opposed to raw sql queries?
what is active record?
What is Dynamic finders ?
What are gemsets in rails?
How you run your Rails Application without creating database ?
Explain model in rails?
What are the different filters used in ruby on rails?
How many types of relationships does a model has?
what are the limits of Ruby on Rails?
What is the rail console?
What are naming conventions?
What do you mean by render and redirect_to?
Are there any disadvantages of ruby on rails? If yes, mention them.
How are observers and callbacks different from each other?
Explain me what is the difference between concern and application_controller.rb in ruby on rails?