Skip to content

Conversation

@amb54
Copy link

@amb54 amb54 commented Mar 27, 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 Model handles the logic concerning the data for a given object. The methods in the model can be applied to an object. I used the model to update the value for completion_date. I also used it to check if the value of completion_date was nil or not and returned an array to be used in views.
Describe in your own words what the Controller is doing in Rails The controller is the spider in the net between the browser(routes), the model and the view.
Describe in your own words what the View is doing in Rails The view decides how the site looks in the browser.
What is the purpose of using strong params? (i.e. the params method in the controller) It has to do with security, make sure that the attributes that can be used are only the ones specified in the private section of the controller.
How are Rails migrations related to Rails models? It loads the database for the model to work with.
Describe one area of Rails that are still unclear on The area that is somewhat unclear to me is how the routes works and how it communicates with the controller.

amb54 added 23 commits March 20, 2017 14:34
…rked with the tasks.css and application.css files.
…r new and edit by using a partial view _form
…o welcome page. Rearanged test and link to list on the welcome page
… together and put them on the same row. h1 to the left and the add-button to the right.
…quently changed the method status in the controller as well as row 31 in the index.
@droberts-sea
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
Successfully handles: Index, Show yes
Successfully handles: New, Create yes
Successfully handles: Edit, Update yes
Successfully handles: Destroy, Task Complete yes
Routes follow RESTful conventions yes
Uses named routes (like _path) yes
Overall

Looks good! Great styling!

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