Team Quartzy- Annalee, Meighan, Riley, Audrey#16
Team Quartzy- Annalee, Meighan, Riley, Audrey#16Dreedle wants to merge 493 commits intoAda-C4:quartzy/masterfrom Dreedle:quartzy/master
Conversation
There was a problem hiding this comment.
I believe this @cart_status is not the same @cart_status in your orders_controller. Specifically this is an instance variable for the RSpec test, so it will be nil forever until it is assigned in the above let block.
|
Congrats on completing the Betsy project! The app works wonderfully and you all obviously have a good grasp on complicated logic in rails. Here are some things I noticed overall that could use some improvement: • Naming: Try not to use letters as variables. It's always best to be descriptive when assigning names to data or functions so that your logic is clearer. CODE ON! ⭐ ✌️ |
There was a problem hiding this comment.
I don't think you need to create all these users, categories, and products to test if the index page renders. In any case, what would happen if, say, there were no products to display?
EDIT: Looking at your welcome controller, I see why you needed to create all these. Still might be good to have logic that allows for edge cases like no products to display.
There was a problem hiding this comment.
Again, it's better to use full variable names instead of letters.
App deployed on Heroku:
http://quartzy.herokuapp.com/
Completed primary requirements.
92.6% rspec coverage
Code could be much dryer and neater in some areas, but we feel we accomplished a lot of work.