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
How you run your rails application without creating databases?
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?
Where does the start_tabnav gets informations for tabs rendering in ruby rail?
How to use two databases into a single application?
how can you declare a block in Ruby?
List out the few features of Ruby?
What is the difference between false and nil in ruby?
Explain about Dig, Float and Max?
what are the limits of Ruby on Rails?
Who developed ruby on rails?
What is a proc ?
What are gemsets in rails?
What are models in rails?
Explain dry in rails?
Explain Get and post method?