diff options
author | kuldeepaggarwal <kd.engineer@yahoo.co.in> | 2015-05-09 21:51:06 +0530 |
---|---|---|
committer | kuldeepaggarwal <kd.engineer@yahoo.co.in> | 2015-05-09 21:51:06 +0530 |
commit | f4fd4d617f902bd4a2cc8fbda4bc5f2c66187f90 (patch) | |
tree | 1233eff314e0a6c73bd32c2772ad99819a2b093e | |
parent | 16d7f6d08d0d64d56409f63e0d97a5b6b0307d59 (diff) | |
download | rails-f4fd4d617f902bd4a2cc8fbda4bc5f2c66187f90.tar.gz rails-f4fd4d617f902bd4a2cc8fbda4bc5f2c66187f90.tar.bz2 rails-f4fd4d617f902bd4a2cc8fbda4bc5f2c66187f90.zip |
[CI SKIP] correct error text message
-rw-r--r-- | guides/source/engines.md | 4 |
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. |