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
At is cross-site request forgery (csrf)?
difference between member routes and collection routes ?
Tell me what is the difference between the observers and callbacks in ruby on rails?
Explain valid and invalid in rails?
Do you know what is sweeper in rails?
What are models in rails?
what is the function of garbage collection in Ruby on Rails?
If you want to set up a one-to-one relationship between two models, you'll need to add belongs_to to one, and has_one to the other. How do you know which is which?
What role do sub-directory app/helpers and app/controllers play?
Am Fresher ..,i dont know seven controller methods.am searching in google .but am not getting .help me
what is rails caching?
Do you know what is cross-site request forgery (csrf) and how rails is protected against it?
how you can create a controller for subject?
What is rails migration? What can it do?
What is rails script? Name some of them?