Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

corrected to Rails 3 syntax for declaring resources

  • Loading branch information...
commit bad920f42351713d82137825c530fbe9b5229618 1 parent 45c3aba
Rajinder Yadav authored fxn committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  railties/guides/source/form_helpers.textile
2  railties/guides/source/form_helpers.textile
@@ -283,7 +283,7 @@ h4. Relying on Record Identification
The Article model is directly available to users of the application, so -- following the best practices for developing with Rails -- you should declare it *a resource*:
-map.resources :articles
+resources :articles
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.
Please sign in to comment.
Something went wrong with that request. Please try again.