aboutsummaryrefslogtreecommitdiffstats
path: root/railties/guides/source/form_helpers.textile
diff options
context:
space:
mode:
authorJosiah Ivey <josiah.ivey@gmail.com>2010-05-16 21:58:47 -0500
committerJosiah Ivey <josiah.ivey@gmail.com>2010-05-16 21:58:47 -0500
commitea9398f9bafeec8fb0c527710b4708625fb60c21 (patch)
tree0a8eab20e3eaf5af14794f95368578ced067d766 /railties/guides/source/form_helpers.textile
parentd148a6f6ba5f8ee65905f12cd2601fcc377d4852 (diff)
downloadrails-ea9398f9bafeec8fb0c527710b4708625fb60c21.tar.gz
rails-ea9398f9bafeec8fb0c527710b4708625fb60c21.tar.bz2
rails-ea9398f9bafeec8fb0c527710b4708625fb60c21.zip
Guides: Fix numerous broken links
Diffstat (limited to 'railties/guides/source/form_helpers.textile')
-rw-r--r--railties/guides/source/form_helpers.textile4
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/guides/source/form_helpers.textile b/railties/guides/source/form_helpers.textile
index 70b88db3a4..0c0a4e2263 100644
--- a/railties/guides/source/form_helpers.textile
+++ b/railties/guides/source/form_helpers.textile
@@ -205,7 +205,7 @@ Upon form submission the value entered by the user will be stored in +params[:pe
WARNING: 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 "Active Record Validations and Callbacks":./activerecord_validations_callbacks.html#_using_the_tt_errors_tt_collection_in_your_view_templates guide.
+Rails provides helpers for displaying the validation errors associated with a model object. These are covered in detail by the "Active Record Validations and Callbacks":./activerecord_validations_callbacks.html#displaying-validation-errors-in-the-view guide.
h4. Binding a Form to an Object
@@ -280,7 +280,7 @@ The Article model is directly available to users of the application, so -- follo
map.resources :articles
</ruby>
-TIP: Declaring a resource has a number of side-affects. See "Rails Routing From the Outside In":routing.html#restful-routing-the-rails-default for more information on setting up and using resources.
+TIP: Declaring a resource has a number of side-affects. See "Rails Routing From the Outside In":routing.html#resource-routing-the-rails-default for more information on setting up and using resources.
When dealing with RESTful resources, calls to +form_for+ can get significantly easier if you rely on *record identification*. In short, you can just pass the model instance and have Rails figure out model name and the rest: