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

Queues Laura's TaskList #47

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

Conversation

lmelgarejos
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 The model ask and manage the information store in a database
Describe in your own words what the Controller is doing in Rails Takes the user's request and ask to the model to render one or multiple actions.
Describe in your own words what the View is doing in Rails It reads what the controller gives and "display" things in a nice way.
What is the purpose of using strong params? (i.e. the params method in the controller) To avoid 'bad' entries from the users.
How are Rails migrations related to Rails models? Migrations allow to create data, as well as modified it, and models 'talk' with it.
Describe one area of Rails that are still unclear on the 'verbs' for the routes.

@PilgrimMemoirs
Copy link

Task List

What We're Looking For

Feature Feedback
Baseline
Appropriate Git Usage with no extraneous files checked in Well Done
Answered comprehension questions Mostly good - The first two questions could be more specific, something along the lines of the model handing the business logic and the controllers connecting business logic in the model needed to render specific data in a view.
Successfully handles: Index, Show Well Done
Successfully handles: New, Create Well Done
Successfully handles: Edit, Update Well Done
Successfully handles: Destroy, Task Complete Well Done
Routes follow RESTful conventions Mostly Good - remember to set the root route. This route: "post 'tasks/:id/edit', to: 'tasks#edit'" Post is used when something is being saved to the database at that stage, like with create. When you're at the edit stage, you're brining up the page to edit, but have not pushed 'save changes' yet to actually update anything in the database.
Uses named routes (like _path) Well Done
Overall

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