Permalink
Browse files

more woring improvements to the engines guide

* "also in ... is ..." -> "in .. there is ..."
* use "as well" instead of "also" in the end of the sentence
* "has the ability" -> "can"
  • Loading branch information...
1 parent a8d4e27 commit 1907409596b9831e0fac2128b8f6da20b96b2003 @goshakkk goshakkk committed Jan 7, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 guides/source/engines.md
View
4 guides/source/engines.md
@@ -171,7 +171,7 @@ end
This line mounts the engine at the path `/blorgh`, which will make it accessible through the application only at that path.
-Also in the test directory is the `test/integration` directory, where integration tests for the engine should be placed. Other directories can be created in the `test` directory also. For example, you may wish to create a `test/models` directory for your models tests.
+In the test directory there is the `test/integration` directory, where integration tests for the engine should be placed. Other directories can be created in the `test` directory as well. For example, you may wish to create a `test/models` directory for your models tests.
Providing engine functionality
------------------------------
@@ -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 has the ability 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 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.
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.

0 comments on commit 1907409

Please sign in to comment.