Archive for August 21st, 2008
form_for vs form_tag in Rails
Both form_for and form_tag are used to submit the form in
Ruby on Rails. But form_tag just outputs a <form>
tag while form_for gives a means of accessing some wrapped object.
form_for :
we used form_for for a specific model i.e while we need to
create a new row in database. so, form_for perform the standard http post method and [...]

