Generate model Comment.  #6

$ rails generate model Comment commenter:string body:text post:references

Signed-off-by: ataka <masayuki.ataka@gmail.com>
Migrate Database for comments.  #6

$ rake db:migrate

Signed-off-by: ataka <masayuki.ataka@gmail.com>
Tell controller and router a post has many comments.  #6

Signed-off-by: ataka <masayuki.ataka@gmail.com>
Generate controller Comments.  #6

$ rails generate controller Comments

CHECK: rails generate controller Comments and model Comment.

Signed-off-by: ataka <masayuki.ataka@gmail.com>
Add a comment in controller and view.  #6

Comments are not displayed, yet!

Signed-off-by: ataka <masayuki.ataka@gmail.com>
Show a comment body below a blog entry.  close #6

Signed-off-by: ataka <masayuki.ataka@gmail.com>