Skip to content

Conversation

@abe2dev
Copy link
Owner

@abe2dev abe2dev commented Mar 26, 2022

No description provided.

@helgakern
Copy link

BLOG ON RAILS HOMEWORK 6

SCORESHEET FOR STUDENT IBRAHIM

This homework builds on the previous, Blog on Rails.

GRADING CRITERIA:

Course Value: 5%

Assignment Value: 100%

GRADE:

Total Grade: 97.4
Score 97.4 /100
Deductions 00 /20

LATE ASSIGNMENTS WILL BE DEDUCTED 5% OFF PER 24 HOURS, FOR A MAX OF 20% DEDUCTION OVERALL.
YOUR ASSIGNMENT IS CONSIDERED LATE 5 MINUTES AFTER THE DUE DATE AND TIME, UNLESS OTHERWISE DISCUSSED WITH YOUR INSTRUCTOR.



Part 1: Submitted and on Time

Was the assignment complete and on time?

Feature Mark Notes
Complete and submitted on time.
On time, but incomplete.
Complete, but submitted late.
Incomplete and submitted late.
Very late submission
No submission

Part 2: Features

Was everything in assignment attempted?

Feature Mark Notes
User Model must have name, email and password_digest columns.
The email must be unique and its format must be validated.
Display a sign up form at Users#new action.
When a user submits the form, create a new user in the database then redirect the user to root path.
Display a sign in form at Sessions#new making sure that the path is /session/new instead of /sessions/new.
When the user submits the sign in form or the sign up form, log them in (add their user_id to the session.)
Create a current_user private method that returns the currently signed-in user.
Create a authenticated_user! private method that redirects the user to the root path if they're not signed in leaving a flash[:alert] to notify the user.
Only allow signed-in users to create posts or comments and associate users to the comments or posts they create.
Building upon the UsersController, add the ability for users to edit their account details
By clicking the user name on the navigation bar, users should be sent to the edit form for their user where they can change their name and email.
Add new custom actions to the UsersController to support changing passwords.
Add a link to user's edit page, "Change Password", to access the form.
The form should contain three fields: current_password, new_password and new_password_confirmation.
If the new_password is different than current_password and new_password and new_password_confirmation are the same, update the user's password with the new_password when the form is submitted.
Only signed in users can create blog posts or comments.
Only the creator of blog posts can edit or delete them.
Only the creator of comments or the creator of blogs can delete comments.
Signed in users can only edit their user account.
Support an admin user that can do anything.


ASSIGNMENT RUBRIC

A+ A A- B+ B B- C+ C-F
90%-100% 85%-89% 80%-84% 76%-79% 72%-75% 68%-71% 64%-67% 0%-63%
Assignment handed in on time and complete. All instructions were followed perfectly. All required features were created and works correctly. All Stretches or Challenges were completed. Styling and design of front end meets requirements, and extra creative effort has been applied to this assignment overall. Assignment handed in on time and complete. All instructions were followed perfectly. All required features were created and works correctly. Stretches or Challenges were attempted. Styling and design of front end meets requirements, and looks presentable. OR Stretches or Challenges not attempted, but creative effort has been applied to the assignment overall. Assignment handed in on time and complete. All instructions were followed. All required features were created and works correctly or mostly works. No Stretches or Challenges were attempted. Styling and design of front end meets requirements, and looks presentable. Assignment handed in on time and complete. All instructions were followed. All required features were created or attempted. No Stretches or Challenges were attempted. Styling and design of front end meets requirements, and looks presentable. Assignment handed in on time, but handed in as incomplete. Most instructions were followed. Most required features were created or attempted. No Stretches or Challenges were attempted. Styling and design of front end meets requirements. Assignment handed in on time, but handed in as incomplete. Instructions were somewhat followed. Most required features were created or attempted. No Stretches or Challenges were attempted. Minimal effort in styling and design of front end. Assignment handed in on time, but handed in as incomplete. Instructions were somewhat followed. Some required features were created or attempted. No Stretches or Challenges were attempted. Minimal effort in styling and design of front end. Minimal or no effort.Incomplete/ missing components/insufficient.

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.

3 participants