-
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
09 Specs and N+1 problem #10
Conversation
… must be displayed.
… for current user.
@Alejandroq12 could you check your slack? |
Hi, sure. I will check it now. |
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.
Hi Team, 👋🏻👋🏻
Your project is complete! There is nothing else to say other than... it's time to merge it
Congratulations! 🎉
Highlights
- Descriptive PR ⭐
- Followed Gitflow ⭐
- Test are passed 💪🏻
- Great job working on the tests🔥🔥
Optional suggestions
Every comment with the [OPTIONAL] prefix won't stop the approval of this PR. However, I strongly recommend you to take them into account as they can make your code better. Some of them were simply missed by the previous reviewer and addressing them will really improve your application.
Cheers, and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag me in your question so I can receive the notification.
As described in the Code reviews limits policy you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.
Thank you very much for your time and valuable feedback. |
Hello, dear reviewer.
n+1
Before solving N + 1 problem
After solving N + 1 problem
Integration specs
Used Capybara to write integration tests for each view in my project.
Thought on the flow of things and group the tests of page in a way that makes sense. For example, one test would check for the things in the page and another test for clicking links on it.
User index page:
user show page:
User post index page:
Post show page:
Run only integration tests:
All tests are passing:
Video of tests passing
Please, take into account that in order to run the project you have to rename the .env.example file to .env and fill all fields with the right port, database username, database password, host, port (Rails port), and database port.
Thank you. I hope you have a great day.