Skip to content

Conversation

@biciclista22
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 is the database. It is a repository of information. In Rails, it is working with ActiveRecord/SQL.
Describe in your own words what the Controller is doing in Rails The controller, for me, feels a bit like traffic control at an airport. It has all the instructions needed to gather the important information from the model and then connect that up to the view. The router is not mentioned in the questions, and for me, seems to be coupled with the Controller. The router is more static, serving as a template of direction and the controller holds more of the internal logic of how and what from the database/model is accessed.
Describe in your own words what the View is doing in Rails The view is the visual part of Rails. It consists of the embedded Ruby HTML and the CSS that is able to show the information from the model in a user-friendly way.
How are Rails migrations related to Rails models? Migrations feels a bit like Ruby magic, in this case, Rails magic. I can create a model for a migration I want to pass into Rails. In terminal, I need to create the file, then adjust it in atom within my Rails project (at least if I need to make changes) and then force a migration through terminal. Some of that back and forth still feels a little hazy to me as to what is happening on the backend. In doing some reading, this process simplifies the work I as a developer would need to do every time I want to make a change to my database.
Describe one area of Rails that are still unclear on I am not totally clear if we are able or encouraged to create our own routes or if we need to be following those prescribed routes for now. That question came up with the mark complete task, which I needed help from tutors/students to figure out how to get around creating another route. I think I am also having some trouble making the connection between the html we have recently learned and incorporating that with ruby in the .erb files. I bet that will come with practice, but it feels like some of those links are taking more time and effort to build.

@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 Great work 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