forked from AdaGold/media-ranker
-
Notifications
You must be signed in to change notification settings - Fork 38
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
Queues- Anna Barklund - MediaRanker #42
Open
amb54
wants to merge
33
commits into
Ada-C7:master
Choose a base branch
from
amb54: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
… models (work, user, vote). Created lib/seeds. Copied media_seeds.csv to this folder. Added code to db/seeds.rb to read in data in the database.
…lationships in the models for work, user and vote. Created tests for validation for model. Added validations to work model. Tests passed
…ontroller. Wrote code for the index method in the welcome controller. Wrote three sections in the welcome index view, one for each table.
…r. Added routes for those in routs. Added a link to the albums view (the action albums uses the controller view) in the welcome view.
…it work : ) . Added has_many-trough to user and work models.
…vies in the work controller. Updated the category view with a table. Updated the index view for works with links to category views.
…ance variables in index for the work controller. Added the links to the show pages for the works in the index view for the works.
… with new/create edit/update and delete. Generated the controller Sessions. Added login logout to routes. Added new/create and delete to the sessions controller. Added new view for sessions with code for a form for user. Added foundation to stylesheet.
…pdated the actions create, albums, books and movies to use sessions for storing the category. Started a method in works ordered_works. Uppdated application view with sections for login/logout and flash. Added the error messages to the _form vieww for works. Updated the category view (for works) to use sessions. Updated the works index view with foundation code. Added routes for album/new book/new and movie/new.
…ods for works. Updated work model with two methods self.ordered_works and self.order_by_votes. Updated edit in works controller. Updated update action in works controller with an if-else to choose redirection path. Rearranged links in the category view. Added vote counts to the works index view. Added foundation code to show view for works. Added new test for works-controller create.
…_votes in the work model.
…hanged the code in index.
…Added pseudocode for upvote. Added route for upvote. Coded users index view. Updated works index to pass Heroku deployment. Added foundation code to works show index. Changed the code for randomly generate votes in seeds. Got the test for works controller create to work.
…rted by number of votes. Updated works category and show view with links.Updated users index and show views with strftime method for the create date. Added foundation code to users index view. Added code to users show.
… the works views category and show. Changed the link forthe back button in the works show view.
…about login status.
…ated the index view with buttons for adding media and did some rearangement to better accomodate foundation code.
…ry. Made changes related to users index and show.
…the user show view. Worked with the tests.
Media RankerWhat We're Looking For
|
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?