From ab5eb50b2176d090e3a31c79304423781bbf7aee Mon Sep 17 00:00:00 2001 From: Uday Kadaboina Date: Sat, 23 Jun 2012 02:43:34 -0600 Subject: fixed a typo --- guides/source/getting_started.textile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'guides/source/getting_started.textile') diff --git a/guides/source/getting_started.textile b/guides/source/getting_started.textile index f25e0c0200..c42f658b94 100644 --- a/guides/source/getting_started.textile +++ b/guides/source/getting_started.textile @@ -906,7 +906,7 @@ end The new method, +update_attributes+, is used when you want to update a record -that already exists, and it accepts an hash containing the attributes +that already exists, and it accepts a hash containing the attributes that you want to update. As before, if there was an error updating the post we want to show the form back to the user. -- cgit v1.2.3 From 0c22ac2d60065836c099695b8026bed1d4892898 Mon Sep 17 00:00:00 2001 From: Uday Kadaboina Date: Sat, 23 Jun 2012 02:52:57 -0600 Subject: fixed another typo in edge guides --- guides/source/getting_started.textile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'guides/source/getting_started.textile') diff --git a/guides/source/getting_started.textile b/guides/source/getting_started.textile index c42f658b94..a489469a45 100644 --- a/guides/source/getting_started.textile +++ b/guides/source/getting_started.textile @@ -1191,7 +1191,7 @@ delete "posts/:id" => "posts#destroy" That's a lot to type for covering a single *resource*. Fortunately, Rails provides a +resources+ method which can be used to declare a -standard REST resource. Here's how +config/routes/rb+ looks after the +standard REST resource. Here's how +config/routes.rb+ looks after the cleanup: -- cgit v1.2.3