aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/getting_started.textile
diff options
context:
space:
mode:
authorRyan Bigg <radarlistener@gmail.com>2012-05-17 19:18:00 +1000
committerRyan Bigg <radarlistener@gmail.com>2012-05-17 19:56:57 +1000
commita4db311da0db9b87e12eebfc49b0d97a3af35043 (patch)
treef32d0fe02fcf2604c001c139a539c847a123cb61 /guides/source/getting_started.textile
parentcc9a6f2e0ae6b4691d52b61167c31d2383759ba1 (diff)
downloadrails-a4db311da0db9b87e12eebfc49b0d97a3af35043.tar.gz
rails-a4db311da0db9b87e12eebfc49b0d97a3af35043.tar.bz2
rails-a4db311da0db9b87e12eebfc49b0d97a3af35043.zip
[getting started] generating routes manually was done as a learning
exercise, fix typos
Diffstat (limited to 'guides/source/getting_started.textile')
-rw-r--r--guides/source/getting_started.textile7
1 files changed, 4 insertions, 3 deletions
diff --git a/guides/source/getting_started.textile b/guides/source/getting_started.textile
index 1a57a81cf1..4680cadacf 100644
--- a/guides/source/getting_started.textile
+++ b/guides/source/getting_started.textile
@@ -1194,17 +1194,18 @@ Also, if you go through the motions of creating, updating and deleting
posts the app still works as before.
TIP: In general, Rails encourages the use of resources objects in place
-of declaring routes manually. For more information about routing, see
+of declaring routes manually. It was only done in this guide as a learning
+exercise. For more information about routing, see
"Rails Routing from the Outside In":routing.html.
h3. Adding a Second Model
It's time to add a second model to the application. The second model will handle comments on
-blog posts.
+posts.
h4. Generating a Model
-We're going to se the same generator that we used before when creating
+We're going to see the same generator that we used before when creating
the +Post+ model. This time we'll create a +Comment+ model to hold
reference of post comments. Run this command in your terminal: