Skip to content

Conversation

@VirtualLindsey
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 holding all of the data related to tasks. One row is one task.
Describe in your own words what the Controller is doing in Rails The controller is routing information between the model and views
Describe in your own words what the View is doing in Rails Views are structuring the data on screen for users to see
What is the purpose of using strong params? (i.e. the params method in the controller) This way it's not ambiguous what will be entered in the DB
How are Rails migrations related to Rails models? Migrations will update the database structure or column names to ensure it's relevant to the state of the overall application
Describe one area of Rails that are still unclear on Building custom routes

@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 Good work overall
Migrations I had trouble running your migrations out of the box. The second one, update_columns, contained a migration class named UpdateTables. Rails tries to find a class in the file with a name that matches the file name, which is why it was a problem.

I suspect you started out with the name update_tables, ran the migration, and then changed the file name. Changing the name of the class to UpdateColumns fixed the problem and allowed me to get your site working.

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