Permalink
Browse files

Merge pull request #12316 from JuanitoFatas/engines

[ci skip] Add missing migrate step in generating comment resource section.
  • Loading branch information...
2 parents 8000835 + 53d1779 commit d61eaed82b7a8f5254cfef20cbbdc968b8939d78 @rafaelfranca rafaelfranca committed Sep 22, 2013
Showing with 5 additions and 1 deletion.
  1. +5 −1 guides/source/engines.md
View
@@ -307,7 +307,11 @@ create test/models/blorgh/comment_test.rb
create test/fixtures/blorgh/comments.yml
```
-This generator call will generate just the necessary model files it needs, namespacing the files under a `blorgh` directory and creating a model class called `Blorgh::Comment`.
+This generator call will generate just the necessary model files it needs, namespacing the files under a `blorgh` directory and creating a model class called `Blorgh::Comment`. Now run the migration to create our blorgh_comments table:
+
+```bash
+$ rake db:migrate
+```
To show the comments on a post, edit `app/views/blorgh/posts/show.html.erb` and add this line before the "Edit" link:

0 comments on commit d61eaed

Please sign in to comment.