aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYves Senn <yves.senn@gmail.com>2015-05-09 19:03:49 +0200
committerYves Senn <yves.senn@gmail.com>2015-05-09 19:03:49 +0200
commit986fdc4e7328dd639099899f149a8d140d230a9e (patch)
treeeeb662acf56a16e3f08ff35e3498600b587512e0
parent5b63a3d7d08bb3b85682877e8a6e8d2ea19da084 (diff)
parentf4fd4d617f902bd4a2cc8fbda4bc5f2c66187f90 (diff)
downloadrails-986fdc4e7328dd639099899f149a8d140d230a9e.tar.gz
rails-986fdc4e7328dd639099899f149a8d140d230a9e.tar.bz2
rails-986fdc4e7328dd639099899f149a8d140d230a9e.zip
Merge pull request #20087 from kuldeepaggarwal/fix-engine-guides
correct error text message in engines.md [ci skip]
-rw-r--r--guides/source/engines.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/guides/source/engines.md b/guides/source/engines.md
index bcb0ee7d5d..a89ed1984f 100644
--- a/guides/source/engines.md
+++ b/guides/source/engines.md
@@ -582,7 +582,7 @@ the comments, however, is not quite right yet. If you were to create a comment
right now, you would see this error:
```
-Missing partial blorgh/comments/comment with {:handlers=>[:erb, :builder],
+Missing partial blorgh/comments/_comment with {:handlers=>[:erb, :builder],
:formats=>[:html], :locale=>[:en, :en]}. Searched in: *
"/Users/ryan/Sites/side_projects/blorgh/test/dummy/app/views" *
"/Users/ryan/Sites/side_projects/blorgh/app/views"
@@ -591,7 +591,7 @@ Missing partial blorgh/comments/comment with {:handlers=>[:erb, :builder],
The engine is unable to find the partial required for rendering the comments.
Rails looks first in the application's (`test/dummy`) `app/views` directory and
then in the engine's `app/views` directory. When it can't find it, it will throw
-this error. The engine knows to look for `blorgh/comments/comment` because the
+this error. The engine knows to look for `blorgh/comments/_comment` because the
model object it is receiving is from the `Blorgh::Comment` class.
This partial will be responsible for rendering just the comment text, for now.