Sample Blog app

  1. Create, edit, delete posts.
  2. Create, destroy comment on a post.

As database postgres is used.

Uses gems

  • simple_form - a gem that simplifies using forms in rails.
  • better_errors - better debugging of errors.

Database

  • Post
    • title
    • content
  • Comment
    • name
    • comment
    • post_id