From 0de89f815083886c8c98f91972cc717c6b42602f Mon Sep 17 00:00:00 2001 From: Frederick Cheung Date: Mon, 19 Jan 2009 02:04:45 +0000 Subject: link to the validations guide --- railties/doc/guides/source/form_helpers.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'railties/doc/guides') diff --git a/railties/doc/guides/source/form_helpers.txt b/railties/doc/guides/source/form_helpers.txt index 04c6f99349..804363aa3d 100644 --- a/railties/doc/guides/source/form_helpers.txt +++ b/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? -- cgit v1.2.3