diff options
author | Frederick Cheung <frederick.cheung@gmail.com> | 2009-01-19 02:04:45 +0000 |
---|---|---|
committer | Frederick Cheung <frederick.cheung@gmail.com> | 2009-01-19 02:04:45 +0000 |
commit | 0de89f815083886c8c98f91972cc717c6b42602f (patch) | |
tree | edbf594c15083a91da16d68958326f6bea2e7c1f /railties/doc/guides | |
parent | b9efc8a0ce7d864666d01c7099f263c70b170793 (diff) | |
download | rails-0de89f815083886c8c98f91972cc717c6b42602f.tar.gz rails-0de89f815083886c8c98f91972cc717c6b42602f.tar.bz2 rails-0de89f815083886c8c98f91972cc717c6b42602f.zip |
link to the validations guide
Diffstat (limited to 'railties/doc/guides')
-rw-r--r-- | railties/doc/guides/source/form_helpers.txt | 4 |
1 files changed, 3 insertions, 1 deletions
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? |