-
Notifications
You must be signed in to change notification settings - Fork 51
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
Leaves - Georgina #37
base: master
Are you sure you want to change the base?
Conversation
Media RankerWhat We're Looking ForManual Testing
Targeted Code Review
Targed Test Review
User model has tests with sections on validations (valid and invalid) and relationships (has votes) | yes Overall FeedbackGood work completing a full stack with complex relationship and actions and thoroughly tested models. A few things to focus on for next time: consider what model business logic should belong to. In this case, top_ten and spotlight would have been simpler to implement in work.rb. Also, make sure to consider the redirect behavior that makes the most sense for each action. There seems to be one central bug: the top media page does not show the top ten for each work. Take a look and let me know if you have questions. |
</tr> | ||
</thead> | ||
<tbody> | ||
<% Work.albums_work.each do |work| %> |
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.
You should use a partial view or iteration to DRY up your code.
end | ||
|
||
if @work.update( | ||
category: params[:work][:category], |
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.
could you use your strong params here?
travis for tests
Media Ranker
Congratulations! You're submitting your assignment!
Comprehension Questions
session
andflash
? What is the difference between them?