Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[5pt] - Comments resource #10

Open
4 of 6 tasks
Nemwel-Boniface opened this issue Apr 2, 2023 · 0 comments
Open
4 of 6 tasks

[5pt] - Comments resource #10

Nemwel-Boniface opened this issue Apr 2, 2023 · 0 comments
Assignees

Comments

@Nemwel-Boniface
Copy link
Owner

Nemwel-Boniface commented Apr 2, 2023

In this milestone I am going to implement the following:

  • Generate the comments resource with the rails g scaffold. The fields to be added include:
    • Comment_text
    • Commenter name [OPTIONAL] default is "Anonymous"
    • blog_id
    • date commented
  • A comment has to belong to a specific blog. Linked by the blog_id
  • Add the update_comments_counter method for a specific blog in the comments model
  • Add the comment form to the blog show to allow automatically creating a comment for a blog.
  • List all the comments )OPTIONAL). Listing umber of comments only seems better.
  • AOB
@Nemwel-Boniface Nemwel-Boniface self-assigned this Apr 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant