aboutsummaryrefslogtreecommitdiffstats
path: root/guides
diff options
context:
space:
mode:
authorMatthew Draper <matthew@trebex.net>2017-11-26 19:38:51 +1030
committerGitHub <noreply@github.com>2017-11-26 19:38:51 +1030
commit4b2bbcf89787d8fd96fbf67675ba78a50a5d1570 (patch)
tree65fe1d7476eeed1dd55da359666dd6192ccf253a /guides
parentc43bcc812549ed939952a08419588eb44e0794d0 (diff)
parent092d1af137d6d52349880417923874e17508e608 (diff)
downloadrails-4b2bbcf89787d8fd96fbf67675ba78a50a5d1570.tar.gz
rails-4b2bbcf89787d8fd96fbf67675ba78a50a5d1570.tar.bz2
rails-4b2bbcf89787d8fd96fbf67675ba78a50a5d1570.zip
Merge pull request #31232 from weedySeaDragon/engines-guide-copyediting--neutral-copyediting-171126
minor Engines guide copyedits: neutral language, verb tense, comma splice [ci skip]
Diffstat (limited to 'guides')
-rw-r--r--guides/source/engines.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/guides/source/engines.md b/guides/source/engines.md
index b226eac347..33694cf76a 100644
--- a/guides/source/engines.md
+++ b/guides/source/engines.md
@@ -921,7 +921,7 @@ engine:
mattr_accessor :author_class
```
-This method works like its brothers, `attr_accessor` and `cattr_accessor`, but
+This method works like its siblings, `attr_accessor` and `cattr_accessor`, but
provides a setter and getter method on the module with the specified name. To
use it, it must be referenced using `Blorgh.author_class`.
@@ -982,7 +982,7 @@ Blorgh.author_class = "User"
WARNING: It's very important here to use the `String` version of the class,
rather than the class itself. If you were to use the class, Rails would attempt
to load that class and then reference the related table. This could lead to
-problems if the table wasn't already existing. Therefore, a `String` should be
+problems if the table didn't already exist. Therefore, a `String` should be
used and then converted to a class using `constantize` in the engine later on.
Go ahead and try to create a new article. You will see that it works exactly in the
@@ -1514,7 +1514,7 @@ To hook into the initialization process of one of the following classes use the
## Configuration hooks
-These are the available configuration hooks. They do not hook into any particular framework, instead they run in context of the entire application.
+These are the available configuration hooks. They do not hook into any particular framework, but instead they run in context of the entire application.
| Hook | Use Case |
| ---------------------- | ------------------------------------------------------------------------------------- |