Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

link to the validations guide

  • Loading branch information...
commit 0de89f815083886c8c98f91972cc717c6b42602f 1 parent b9efc8a
@fcheung fcheung authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 railties/doc/guides/source/form_helpers.txt
View
4 railties/doc/guides/source/form_helpers.txt
@@ -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
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -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?

0 comments on commit 0de89f8

Please sign in to comment.
Something went wrong with that request. Please try again.