Open
Conversation
…dd a new piece of media and it shows it on the works#index page
…it and new page in the works#show page. Successfully edited a work and it saved to the main list
…tly shows top 10 media by category and votes
… testing, nor create table. will need to go back to this
…alculating top media
… and methods, and views. manually tested and was able to login and have new user name saved to User model
…nstead added a clause to the work model validation called dependent which fided issue and passed WorksController::show test 3
…lay for votes#index to review all votes. tried to find a way to display the work titles in addition to it's id
…how page. started to try to develop the upvote feature
Media RankerWhat We're Looking For
|
CheezItMan
reviewed
Oct 17, 2017
| <!-- <div>session.inspect<%=session.inspect%></div> --> | ||
| <div>Params[session]<%=%></div> | ||
| <div>Session[user_id]<%=session[:user_id]%></div> | ||
| <strong><h2><%= link_to("Media Ranker", home_path, alt:'homepage')%></h2></strong> |
There was a problem hiding this comment.
Maybe root_path instead of home_path
|
|
||
| describe "validations" do | ||
| it "is not valid without a title and author" do | ||
| work.valid?.must_equal false |
There was a problem hiding this comment.
You would need something to verify that the title & author both caused the validations to fail
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Media Ranker
Congratulations! You're submitting your assignment!
Comprehension Questions
sessionandflash? What is the difference between them?