Skip to content

Conversation

@schanenR
Copy link

@schanenR schanenR commented Nov 1, 2020

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 holds the logic for the database, including the structure and retrieves requested information from the structure. It also handles changes and updates to the database.
Describe in your own words what the Controller is doing in Rails the controller receives requests from the user and gets the needed data from the model, it then interacts with the view to format and and structure the data before it is sent back to the user.
Describe in your own words what the View is doing in Rails The view is handling the HTML/RAILS structuring of data and other information for output to the user. It takes in requested information which the controller gets from the model and formats it.
Describe an edge-case controller test you wrote I wrote a test for the completed_at action which tests to make sure the program redirect to the index page if the given task id number is invalid.
What is the purpose of using strong params? (i.e. the params method in the controller) This private method provides security for our model, to ensure users can not change our database structure.
How are Rails migrations related to Rails models? Migrations are staged or unstaged changes to our database structuring.
Migration are made through and by the model and represent changes which the model will use to access, save and change the data.
Describe one area of Rails that are still unclear on 'params' is a little confusing. I feel confused seeing a bunch of files in my project that I can not understand. Link and button (elements?) are somewhat confusing. Are they elements?

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