Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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 is the directory structure of rails?

828


What is the purpose of load in ruby?

820


Explain how you can run rails application without creating databases?

759


How is calling super() different from the super call?

828


Explain me what is the difference between concern and application_controller.rb in ruby on rails?

756


Do you know what is rake in rails?

786


Explain rvm in rails?

734


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

855


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?

778


what is Cross-Site Request Forgery (CSRF) and how Rails is protected against it?

906


What is rails migration? What can it do?

846


how you can list all routes for an application?

827


How can you protect filter methods in rails?

801


what is the role of Rails Controller?

853


How are the key differences between python and ruby?

874