Skip to content

Conversation

@christinaminh
Copy link

Task List

Congratulations! You're submitting your assignment!

Comprehension Questions

Question Answer
Describe in your own words what the Model is doing in Rails Model is connected to the database. Each model is represented by a table in the database and acts like a Ruby class.
Describe in your own words what the Controller is doing in Rails Controller takes a request and determines how to process it and display appropriate information. Controller talks to Model when it needs to process/retrieve/change data. Controller talks to View to figure out how to display information as a response.
Describe in your own words what the View is doing in Rails View is where we write HTML to display information as a response.
Describe an edge-case controller test you wrote Tested update action for a non-existent task. The user is redirected to the task list.
What is the purpose of using strong params? (i.e. the params method in the controller) Strong params allows us to return the params nested hash by calling a method instead of typing out the nested hash.
How are Rails migrations related to Rails models? Models are represented as tables in the database, which each attribute represented as a column and each instance represented as a row. Rails migrations changes the shape/format of the table by adding/deleting attributes and their data types before data is added.
Describe one area of Rails that are still unclear on what methods to add in models

Copy link

@dHelmgren dHelmgren left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Task List

Major Learning Goals/Code Review

Criteria yes/no, and optionally any details/lines of code to reference
At least 6 commits with meaningful commit messages ✔️
Routes follow RESTful conventions ✔️
Uses named routes (like _path) ✔️
Creates Models and migrations ✔️
Creates styled views no styling!
Handles errors like nonexistant tasks ✔️
Uses form_with to render forms in Rails ✔️

Functional Requirements/Manual Testing

Functional Requirement yes/no
Successfully handles index & show ✔️
index & show tests pass ✔️
Successfully handles: New, Create ✔️
New, Create tests pass ✔️
Successfully handles: Edit, Update ✔️
Edit, Update tests pass with valid & invalid task ids ✔️
Successfully handles: Destroy, Task Complete ✔️
Tests for Destroy & Task Complete include tests for valid and invalid task ids ✔️

Overall Feedback

Overall Feedback Criteria yes/no
Green (Meets/Exceeds Standards) 5+ in Code Review && 6+ in Functional Requirements ✔️
Yellow (Approaches Standards) 3+ in Code Review && 5+ in Functional Requirements, or the instructor judges that this project needs special attention
Red (Not at Standard) 0-2 in Code Review or 0-4 in Functional Reqs, or assignment is breaking/doesn’t run with less than 5 minutes of debugging, or the instructor judges that this project needs special attention

Besides the lack of styling this is great work!!

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.

2 participants