Skip to content

Commit

Permalink
link to the validations guide
Browse files Browse the repository at this point in the history
  • Loading branch information
fcheung committed Jan 19, 2009
1 parent b9efc8a commit 0de89f8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion railties/doc/guides/source/form_helpers.txt
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,8 @@ Upon form submission the value entered by the user will be stored in `params[:pe
You must pass the name of an instance variable, i.e. `:person` or `"person"`, not an actual instance of your model object.
============================================================================

Rails provides helpers for displaying the validation errors associated with a model object. These are covered in detail by the link:./activerecord_validations_callbacks.html#_using_the_tt_errors_tt_collection_in_your_view_templates[Active Record Validations and Callbacks] guide.

Binding a form to an object
~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Expand Down Expand Up @@ -319,7 +321,7 @@ will create a form that submits to the articles controller inside the admin name
-------
form_for [:admin, :management, @article]
-------
For more information on Rails' routing system and the associated conventions, please see the link:../routing_outside_in.html[routing guide].
For more information on Rails' routing system and the associated conventions, please see the link:./routing_outside_in.html[routing guide].


How do forms with PUT or DELETE methods work?
Expand Down

0 comments on commit 0de89f8

Please sign in to comment.