aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/engines.md
diff options
context:
space:
mode:
authorZachary Porter <zporter9@gmail.com>2013-01-11 14:07:14 -0500
committerZachary Porter <zporter9@gmail.com>2013-01-11 14:07:14 -0500
commit0a89d4db1e06d06026bc73726a47d2ef20748070 (patch)
tree54830bb25c9378ea7ff4dd724a41ed1b5b184490 /guides/source/engines.md
parent2222ebb2b0e4d1519b9d2efd3a765b71c411a27e (diff)
downloadrails-0a89d4db1e06d06026bc73726a47d2ef20748070.tar.gz
rails-0a89d4db1e06d06026bc73726a47d2ef20748070.tar.bz2
rails-0a89d4db1e06d06026bc73726a47d2ef20748070.zip
Fix typo in guides/source/engines.md
Diffstat (limited to 'guides/source/engines.md')
-rw-r--r--guides/source/engines.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/engines.md b/guides/source/engines.md
index b5af634e59..649bfad100 100644
--- a/guides/source/engines.md
+++ b/guides/source/engines.md
@@ -288,7 +288,7 @@ Now people will only need to go to the root of the engine to see all the posts,
### Generating a comments resource
-Now that the engine can to create new blog posts, it only makes sense to add commenting functionality as well. To do get this, you'll need to generate a comment model, a comment controller and then modify the posts scaffold to display comments and allow people to create new ones.
+Now that the engine can create new blog posts, it only makes sense to add commenting functionality as well. To do get this, you'll need to generate a comment model, a comment controller and then modify the posts scaffold to display comments and allow people to create new ones.
Run the model generator and tell it to generate a `Comment` model, with the related table having two columns: a `post_id` integer and `text` text column.