Skip to content

Conversation

@RPerry
Copy link

@RPerry RPerry commented Apr 15, 2019

Task List

Congratulations! You're submitting your assignment!

Comprehension Questions

Question Answer
Describe in your own words what the Model is doing in Rails The model gets data from the database
Describe in your own words what the Controller is doing in Rails It interacts with the server to decide what http status code to return, gets data from the model and html from the view.
Describe in your own words what the View is doing in Rails Uses html and css to display a page
Describe an edge-case controller test you wrote An edge case I wrote was for my destroy method to ensure that it returned a 404 error if the user attempted to delete a non-existent task
What is the purpose of using strong params? (i.e. the params method in the controller) As a security measure to ensure that only relevant information from the parameters are getting passed into the methods.
How are Rails migrations related to Rails models? Rails migrations change the database which the rails model gets data from
Describe one area of Rails that are still unclear on I struggled with striking through the title text of the task when it is marked as completed, rather than striking through another version of the title. Also, the order of the task items shift when they have been marked completed and I don't know why

@dHelmgren
Copy link

Task List

What We're Looking For

Feature Feedback
Baseline
Appropriate Git Usage with no extraneous files checked in U_U
Answered comprehension questions Yes
Successfully handles: Index, Show yes
Index & Show tests pass yes
Successfully handles: New, Create yes
New & Create tests pass yes
Successfully handles: Edit, Update yes
Tests for Edit & Update test valid & invalid task ids yes
Successfully handles: Destroy, Task Complete yes
Tests for Destroy & Task Complete include tests for valid and invalid task ids yes
Routes follow RESTful conventions yes
Uses named routes (like _path) yes
Overall Good job on Task List! It functions as expected. You hit all of the learning goals: using partials, using strong params, and following Rails conventions.

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