Skip to content
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

Alison Z's Task List #22

Open
wants to merge 16 commits into
base: master
Choose a base branch
from
Open

Alison Z's Task List #22

wants to merge 16 commits into from

Conversation

AlisonZ
Copy link

@AlisonZ AlisonZ commented Mar 26, 2017

Task List

Congratulations! You're submitting your assignment!

Comprehension Questions

Question Answer
Describe in your own words what the Model is doing in Rails Handling the data and coordinating between the database and the application
Describe in your own words what the Controller is doing in Rails Handling the methods that send information from the router to the model and view
Describe in your own words what the View is doing in Rails Presenting the information in the browser
What is the purpose of using strong params? (i.e. the params method in the controller) To restrict users from altering too much information
How are Rails migrations related to Rails models? migrations update the schema structure of the model
Describe one area of Rails that are still unclear on uuhhhh. i think i'm at a point where I don't even know how to ask the questions that i have. for some reason i am having trouble with the concept of helpers. maybe i'm focusing on the big picture of MVC and what rails is, so the smaller aspects of rails helpers (methods?) are confusing and not clicking for me rn

@kariabancroft
Copy link

Task List

What We're Looking For

Feature Feedback
Baseline
Appropriate Git Usage with no extraneous files checked in Yes
Answered comprehension questions Yes. When you refer to the "helpers" are you talking about in the views like link_to or the routes like _path? Rails is doing these things to help us DRY up our code, but it is important to examine exactly what these things are doing for us. Hopefully with some additional practice and deep-diving into each piece it will become more clear.
Successfully handles: Index, Show Yes. Note that when we use IDs and classes in our HTML we want to separate these words with the - rather than the _. When we use conditionals in the views, we want to indent the contents inside to make it easier to read.
Successfully handles: New, Create Yes. Watch your indentation in the controller - seems to go off a bit.
Successfully handles: Edit, Update Yes. Nice job using the form partial for both forms.
Successfully handles: Destroy, Task Complete Yes. Nice job using a local variable in the completion action.
Routes follow RESTful conventions Yes
Uses named routes (like _path) Yes
Overall Nice job overall. You explored each piece of the Rails request cycle & you'll get more practice in the next assignment.

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