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

Petsy #3

Open
wants to merge 250 commits into
base: master
Choose a base branch
from
Open

Petsy #3

wants to merge 250 commits into from

Conversation

jweeber
Copy link

@jweeber jweeber commented May 13, 2016

https://jd-petsy.herokuapp.com/

Project with Jess, Deirdre, and Alysia.

Gems in Gemfile.

Baked Potato Costume is amazing.

abrown152 and others added 30 commits May 2, 2016 16:34
…rough controllers. need to work on animal vs category and getting 3 random costumes to show up instead of one
<td><%= order.product.name %></td>
<td><%= order.quantity %></td>
<td>$<%= order.price %>0</td>
<td>$<%= order.price * order.quantity %>0</td>
Copy link

@hougland hougland May 18, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is there a 0 here? Maybe check out some rails methods that convert pennies into dollars - I think you use these in other places in the project :)

@hougland
Copy link

WOO HOO!! YOU FINISHED BETSY!!!
Betsy was definitely one of the harder projects for me - figuring out all the routing, how the models interact, and how to split up work. Betsy kinda sucks 😛 But you did it!! 🎉 🎉🎉

I hope some of my bazillion comments are actually useful for you. Feel free to comment back if you have any questions. Sorry if my comments are overwhelming. I intend them to be helpful and productive, not fussy and annoying. My biggest takeaways would be to 1) add comments to describe parts of your code that may not be obvious to a reader (like the routes and controller actions that aren't standard) and 2) separate out more logic from controllers and views and stick it in models.

Your website is super pretty, and flows really well. I also luff the pet theme, images, and styling! 🐈 🐈 🐈 Awesome job!

belongs_to :product
belongs_to :user
validates :rating, presence: true, numericality: { only_integer: true, greater_than_or_equal_to: 1, less_than_or_equal_to: 5 }

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good use of model validations!

@annaleeherrera
Copy link

YOU SURVIVED BETSY!! I'm glad you are alive and well and didn't kill each other ;)
Betsy was our first big group project and we learned how to work with different working styles. If you were to take anything away from the project- take that!

I like that your code was simple and easy to read. There was not much excess. In the views, it could be cleaned up a bit with indentation, I know it gets a bit confusing when you are implementing ruby code. Try to keep any logic in the controllers vs. views.

Good job committing frequently. But also beware of over-committing bc it could get messy when you want to track your process. You want to be able to clearly see what your process was, and have concise but descriptive commit messages.

GREAT JOB TEAM!! KILLED IT.

@jweeber
Copy link
Author

jweeber commented May 26, 2016

Thanks to all of you for your helpful comments! Going to keep these in mind going forward. We got put on the three-person team so we're just really proud to have completed the requirements given that it's a four-person project. We also had a lot fun finding pet costume pics. 🐈 😁

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

Successfully merging this pull request may close these issues.

6 participants