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

How you run your rails application without creating databases?

886


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?

828


Where does the start_tabnav gets informations for tabs rendering in ruby rail?

833


How to use two databases into a single application?

894


how can you declare a block in Ruby?

947


List out the few features of Ruby?

886


What is the difference between false and nil in ruby?

856


Explain about Dig, Float and Max?

886


what are the limits of Ruby on Rails?

924


Who developed ruby on rails?

831


What is a proc ?

920


What are gemsets in rails?

791


What are models in rails?

844


Explain dry in rails?

847


Explain Get and post method?

925