-
Notifications
You must be signed in to change notification settings - Fork 0
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
Article posting #12
Article posting #12
Conversation
… clickable links to them
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall, this looks good. There is a bunch of excess stuff that I would scrap because it isn't needed. I think most of that stuff comes from the generators. Fine that you used the generators for this, but going forward, I would skip the generators and just create the new models and stuff yourself, since that will be better for learning purposes. Good that you saw how the generators worked at least once though. Also, going forward, I would try to break up the PRs into smaller, more easily reviewable changes. For example, I would've put the creation of the app into a separate PR from the articles work. There were also some readability things that would be fixed by a formatter in your editor, so I would try to get one of those installed. Otherwise, you just want to basically finish this work by filling out the README and adding some seeds and tests (along with switching from fixtures to factories). Let me know if any of this doesn't make sense to you and you would want to pair on some of it.
Install and run standardrb
…erb. Added seed data for articles.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just another comment about more information that belongs in the README
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This all looks good except for the one note about the cloning instructions in the README, but now that you have tests, I think you should also add a test step to your build workflow so Github Actions will automatically run all the tests for you every time you push.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Made the home page which displays all articles. If you click on an articles title it goes to the link of the article. Clicking on the "comment" button goes to that articles page where comments will be shown once I add them. The add article button goes to a page where you can add an article.