Before Class
- Review: Hartl Chapter 3 (especially 3.3 & 3.4) on using Minitest
- Read Understanding the Basics of Ruby on Rails: SQL databases and how they work by TK
- Hartl Ch 6
- Watch video lectures (in PioneerWeb under “Video Lectures” ). One is on how to approach legacy code [slides] and the other is on MVC and SQL databases in Ruby on Rails [slides]
Class Time
There are no planned activities today, but you are encouraged to stop by MS Teams with any questions between 8 and 10 am Grinnell Time.
I encourage you to practice creating a simple database for your individual project. You can practice creating a new model and SQL database which you can push to Heroku for practice: Simplified Model and Database exercise. This will help you prepare to do Homework 6.
If you have no questions, you should be working with your team to finish the Memo of Understanding and finish organizing your planned roles and work flow for the team project. Make sure you have scheduled meeting with your community partner and your alumni mentors for the next weeks.
Upcoming Assignments
- Memo of Understanding (team) – due today
- Homework 4 – due today
- Homework 5 – due Monday
Additional Resources
- Testing Rails applications (Minitest)
- TK has articles on Ruby and on MVC and how the Request and Response cycle works with Ruby on Rails. If you find his explanations of the SQL database to be helpful, you might check out his other articles.
- Active Record Basics by the Odin Project
- Active Record Basics by Rails Guides