difference between form_for and form_tag

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


Please Help Members By Posting Answers For Below Questions

what are the limits of Ruby on Rails?

724


What is the difference between save and save?

745


What are class libraries?

669


How will be the future for ruby on rails?

655


What is agile development? What are the strengths?

662


what is sweeper in Rails?

732


What is the purpose of load in ruby?

675


What are the hashes?

650


How do I find only duplicate entries in a database table?

786


hi am b,tech 2011 passedout now am learnig ROR technology may i knw what is the feature of this one and what is the salary ranges to this i heard there is a less salaries to this technology give me valuable suggestions

2082


Explain the importance of yield statement in rails.

665


when self.up and self.down method is used?

684


What is the importance of rjs?

659


How do rails implement ajax?

694


what is the use of super function in ruby on rails?

714