forked from AdaGold/media-ranker
-
Notifications
You must be signed in to change notification settings - Fork 43
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
Carets- Julia Meier #37
Open
julmeier
wants to merge
33
commits into
Ada-C8:master
Choose a base branch
from
julmeier:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains 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
…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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You would need something to verify that the title & author both caused the validations to fail
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
session
andflash
? What is the difference between them?